summaryrefslogtreecommitdiff
path: root/usr.bin/id
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-03-07 21:11:11 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-03-07 21:11:11 +0000
commit029679decb841b5e94bd5daeda5186e2a6b6d092 (patch)
tree37fb7cc48f9d937d7a7eecea96f13d9ccc4ba38c /usr.bin/id
parent6dfe0d7e2d4c609e27a99bf6d2a466a13b4fe9cc (diff)
Various cleanup.
Diffstat (limited to 'usr.bin/id')
-rw-r--r--usr.bin/id/groups.18
-rw-r--r--usr.bin/id/id.121
-rw-r--r--usr.bin/id/whoami.19
3 files changed, 22 insertions, 16 deletions
diff --git a/usr.bin/id/groups.1 b/usr.bin/id/groups.1
index 457b1722f4e..e474dc146ed 100644
--- a/usr.bin/id/groups.1
+++ b/usr.bin/id/groups.1
@@ -1,4 +1,5 @@
-.\" $OpenBSD: groups.1,v 1.6 1999/07/07 10:50:07 aaron Exp $
+.\" $OpenBSD: groups.1,v 1.7 2000/03/07 21:11:10 aaron Exp $
+.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -34,7 +35,6 @@
.\"
.Dd June 6, 1993
.Dt GROUPS 1
-.UC
.Os
.Sh NAME
.Nm groups
@@ -48,9 +48,9 @@ The
utility has been obsoleted by the
.Xr id 1
utility, and is equivalent to
-.Dq Nm id Fl Gn Op Ar user .
+.Ic id Fl Gn Op Ar user .
The command
-.Dq Nm id Fl p
+.Ic id Fl p
is suggested for normal interactive use.
.Pp
The
diff --git a/usr.bin/id/id.1 b/usr.bin/id/id.1
index c849c14960b..3cff5c2b3de 100644
--- a/usr.bin/id/id.1
+++ b/usr.bin/id/id.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: id.1,v 1.8 2000/03/04 22:19:23 aaron Exp $
+.\" $OpenBSD: id.1,v 1.9 2000/03/07 21:11:10 aaron Exp $
.\" $NetBSD: id.1,v 1.5 1995/09/28 08:05:40 perry Exp $
.\"
.\" Copyright (c) 1991, 1993, 1994
@@ -94,14 +94,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
@@ -128,13 +133,13 @@ The
historic
.Xr groups 1
command is equivalent to
-.Dq Nm id Fl Gn Op Ar user .
+.Ic id Fl Gn Op Ar user .
.Pp
The
historic
.Xr whoami 1
command is equivalent to
-.Dq Nm id Fl un .
+.Ic Nm id Fl un .
.Pp
The
.Nm
diff --git a/usr.bin/id/whoami.1 b/usr.bin/id/whoami.1
index e5d657ed221..9f774a3f980 100644
--- a/usr.bin/id/whoami.1
+++ b/usr.bin/id/whoami.1
@@ -1,4 +1,5 @@
-.\" $OpenBSD: whoami.1,v 1.6 1999/07/07 10:50:07 aaron Exp $
+.\" $OpenBSD: whoami.1,v 1.7 2000/03/07 21:11:10 aaron Exp $
+.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -38,7 +39,7 @@
.Os
.Sh NAME
.Nm whoami
-.Nd display effective user id
+.Nd display effective user ID
.Sh SYNOPSIS
.Nm whoami
.Sh DESCRIPTION
@@ -47,9 +48,9 @@ The
utility has been obsoleted by the
.Xr id 1
utility, and is equivalent to
-.Dq Nm id Fl un .
+.Ic id Fl un .
The command
-.Dq Nm id Fl p
+.Ic id Fl p
is suggested for normal interactive use.
.Pp
The