Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ id(1) — 386BSD 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

groups(1)

who(1)

whoami(1)

ID(1)                       386BSD Reference Manual                      ID(1)

NAME
     id - return user identity

SYNOPSIS
     id [user]
     id -G [-n] [user]
     id -g [-nr] [user]
     id -u [-nr] [user]

DESCRIPTION
     The id utility displays the user and group names and numeric IDs, of the
     calling process, to the standard output.  If the real and effective IDs
     are different both are displayed, otherwise only the real ID is
     displayed.

     If a user (login name or user ID) is specified, the user and group IDs of
     that user are displayed.  In this case, the real and effective IDs are
     assumed to be the same.

     The options are as follows:

     -G      Display all of the different group IDs (effective, real and
             supplementary) as white-space separated numbers.

     -g      Display only the effective group ID as a number.

     -n      Display the name of the user or group ID instead of the number.

     -r      Display the real ID instead of the effective ID.

     -u      Display only the effective user ID as a number.

     If any of the ID numbers cannot be mapped into names, the number is
     displayed instead.

     The historic groups(1) command is equivalent to: id -Gn [user].

     The id utility exits 0 on success, and >0 if an error occurs.

SEE ALSO
     groups(1),  who(1),  whoami(1)

STANDARDS
     The logname function is expected to conform to IEEE Std1003.2
     (``POSIX'').

HISTORY
     The id command is currently under development.

                                 June 29, 1991                               1














Typewritten Software • bear@typewritten.org • Edmonds, WA 98026