Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

groups(1)

logname(1)

getuid(2)

setgroups(2)

initgroups(3C)



id(1)                          DG/UX R4.11MU05                         id(1)


NAME
       id - print the user name and ID, and group name and ID

SYNOPSIS
       id [ -g | -u ] [ -nra ]

DESCRIPTION
       id writes a message on the standard output giving the user and group
       IDs and the corresponding names of the invoking process.  If the
       effective and real IDs do not match, both are printed.

       Also, if there are any supplementary group affiliations, they will
       also be printed.

       Options are:

       -g     Output only the effective group ID.  This may be followed by
              any supplementary group IDs that are different from the
              effective group ID.

       -u     Output only the effective user ID.

       -r     Used with -g or -u, output the real ID instead of the
              effective ID.

       -n     Used with -g or -u, output the name instead of the numeric ID.

       -a     The -a option reports all the groups to which the invoking
              user or process belongs.

EXAMPLES
       $ id
       uid=3000(intern) gid=1(other) groups=0(sys),5(mail)
       $

       Displays your user ID, username, group ID and group name on the
       standard output.  Also, in this example, you will notice there are
       two other supplementary groups that are valid for this user.

SEE ALSO
       groups(1), logname(1), getuid(2), setgroups(2), initgroups(3C).


Licensed material--property of copyright holder(s)

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