aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/id/id.1
diff options
context:
space:
mode:
authorJohn-Mark Gurney <jmg@FreeBSD.org>1997-04-27 08:45:46 +0000
committerJohn-Mark Gurney <jmg@FreeBSD.org>1997-04-27 08:45:46 +0000
commit93e0d62d1c2a83232e87912c20f74ab92b0f22b2 (patch)
tree328f08ba7316273f1f02ee69acd5e41cf335b459 /usr.bin/id/id.1
parent7594bf018f94e4934501263b7183c55a8c1f55e7 (diff)
downloadsrc-93e0d62d1c2a83232e87912c20f74ab92b0f22b2.tar.gz
src-93e0d62d1c2a83232e87912c20f74ab92b0f22b2.zip
``appears'' -> ``appeared'' (closes PR#3393, Submitted-by: Josh Gilliam)
add missing Id's other minor clean ups
Notes
Notes: svn path=/head/; revision=25189
Diffstat (limited to 'usr.bin/id/id.1')
-rw-r--r--usr.bin/id/id.134
1 files changed, 20 insertions, 14 deletions
diff --git a/usr.bin/id/id.1 b/usr.bin/id/id.1
index 99010fc8b934..8e9f723f8c5c 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 .