GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ID(1) User Commands ID(1)

id - print user and group IDs and names

/usr/local/heirloom/usr/5bin/id
/usr/local/heirloom/usr/5bin/id -a

/usr/local/heirloom/usr/5bin/posix/id [user]
/usr/local/heirloom/usr/5bin/posix/id -a [user]
/usr/local/heirloom/usr/5bin/posix/id -G [-n] [user]
/usr/local/heirloom/usr/5bin/posix/id -g [-nr] [user]
/usr/local/heirloom/usr/5bin/posix/id -u [-nr] [user]

The id command outputs the numerical and symbolic user and group IDs of the invoking user or, if the user argument is given for /usr/local/heirloom/usr/5bin/posix/id, for the named user. If an effective ID does not match the corresponding real ID, both are printed.

The /usr/local/heirloom/usr/5bin/posix/id adds supplementary group memberships to the output by default.

/usr/local/heirloom/usr/5bin/s42/id and /usr/local/heirloom/usr/5bin/posix2001/id are identical to /usr/local/heirloom/usr/5bin/posix/id.

The following options are accepted:

Adds supplementary group memberships to the output.

Adds the primary group to the list of supplementary groups.
Writes real, effective and supplementary group ID numbers only.
Writes the effective group ID number only.
Modifies the output of the -G, -g, and -u options to print symbolic instead of numeric IDs.
Causes real instead of effective IDs to be printed.
Writes the effective user ID number only.

/etc/passwd
/etc/group

groups(1), logins(1), getuid(2), geteuid(2), getgroups(2), group(5), passwd(5)

Use of id with any options or arguments is unportable. For portable programs, use sed(1) to cut the appropriate portions off the default output of id (using the invariable `uid=' and `gid=' strings as orientation) and groups(1) or logins(1) if you need more information than available by this method.

1/24/05 Heirloom Toolchest

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.