id Return User Identity

Synopsis

/usr/bin/id [user]
/usr/bin/id -a [user]
/usr/xpg4/bin/id [user]
/usr/xpg4/bin/id -G [-n][user]
/usr/xpg4/bin/id -g [-nr][user]
/usr/xpg4/bin/id -u [-nr][user]

Description

Use the id command to display user identity information. If you specify no user operand, the id command writes the user and group IDs and the corresponding user and group names of the invoking process to standard output. If the effective and real IDs do not match, both are written. If multiple groups are supported by the underlying system, the supplementary group affiliations of the invoking process also are written.

If you specify a user operand and the process has the appropriate privileges, the user and group IDs of the selected user ...

Get Solaris™ 8 System Administrator's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.