diff options
author | jmg <jmg@FreeBSD.org> | 1997-04-27 08:45:46 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 1997-04-27 08:45:46 +0000 |
commit | 4deb06a037f7e9be2228918e7ece7bba6efef34c (patch) | |
tree | cc4a2d805f2a30d0238a14722ccee2a6065108eb /usr.bin/id | |
parent | 49413144285b96e53655b462df08b8d18fa92e82 (diff) | |
download | FreeBSD-src-4deb06a037f7e9be2228918e7ece7bba6efef34c.zip FreeBSD-src-4deb06a037f7e9be2228918e7ece7bba6efef34c.tar.gz |
``appears'' -> ``appeared'' (closes PR#3393, Submitted-by: Josh Gilliam)
add missing Id's
other minor clean ups
Diffstat (limited to 'usr.bin/id')
-rw-r--r-- | usr.bin/id/id.1 | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/usr.bin/id/id.1 b/usr.bin/id/id.1 index 99010fc..8e9f723 100644 --- a/usr.bin/id/id.1 +++ b/usr.bin/id/id.1 @@ -33,6 +33,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)id.1 8.1 (Berkeley) 6/6/93 +.\" $Id$ .\" .Dd "June 6, 1993" .Dt ID 1 @@ -41,22 +42,22 @@ .Nm id .Nd return user identity .Sh SYNOPSIS -.Nm id +.Nm .Op Ar user -.Nm id +.Nm .Fl G Op Fl n .Op Ar user -.Nm id +.Nm .Fl g Op Fl nr .Op Ar user -.Nm id +.Nm .Fl p -.Nm id +.Nm .Fl u Op Fl nr .Op Ar user .Sh DESCRIPTION The -.Nm id +.Nm 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, @@ -91,14 +92,19 @@ If the user name returned by is different from the login name referenced by the user ID, the name returned by .Xr getlogin 2 -is displayed, preceded by the keyword ``login''. -The user ID as a name is displayed, preceded by the keyword ``uid''. +is displayed, preceded by the keyword +.Dq login . +The user ID as a name is displayed, preceded by the keyword +.Dq uid . If the effective user ID is different from the real user ID, the real user -ID is displayed as a name, preceded by the keyword ``euid''. +ID is displayed as a name, preceded by the keyword +.Dq euid . If the effective group ID is different from the real group ID, the real group -ID is displayed as a name, preceded by the keyword ``rgid''. +ID is displayed as a name, preceded by the keyword +.Dq rgid . The list of groups to which the user belongs is then displayed as names, -preceded by the keyword ``groups''. +preceded by the keyword +.Dq groups . Each display is on a separate line. .It Fl r Display the real ID for the @@ -111,13 +117,13 @@ Display the effective user ID as a number. .El .Pp The -.Nm id +.Nm utility exits 0 on success, and >0 if an error occurs. .Sh SEE ALSO .Xr who 1 .Sh STANDARDS The -.Nm id +.Nm function is expected to conform to .St -p1003.2 . .Sh HISTORY @@ -135,5 +141,5 @@ command is equivalent to .Pp The .Nm -command appears in +command appeared in .Bx 4.4 . |