summaryrefslogtreecommitdiff
path: root/usr.sbin/edquota/edquota.8
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-03-22 21:23:00 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-03-22 21:23:00 +0000
commite3f0e22a52e1766bbbcca69a637bc58e0a5f994d (patch)
tree4ae7fc3c344cc2edb96baf6e279c84603f2001c5 /usr.sbin/edquota/edquota.8
parent0483b134133ba4d8bc055eade2a074de92f1dd2a (diff)
Don't assume all-numeric names are id's, look up as a name in
passwd first. Noted by Solar Designer <solar@FALSE.COM>
Diffstat (limited to 'usr.sbin/edquota/edquota.8')
-rw-r--r--usr.sbin/edquota/edquota.89
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/edquota/edquota.8 b/usr.sbin/edquota/edquota.8
index 2887986155a..1a3e2c922dc 100644
--- a/usr.sbin/edquota/edquota.8
+++ b/usr.sbin/edquota/edquota.8
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)edquota.8 8.1 (Berkeley) 6/6/93
-.\" $Id: edquota.8,v 1.1 1995/10/18 08:47:33 deraadt Exp $
+.\" $Id: edquota.8,v 1.2 1998/03/22 21:22:57 millert Exp $
.\"
.Dd June 6, 1993
.Dt EDQUOTA 8
@@ -45,11 +45,11 @@
.Nm edquota
.Op Fl u
.Op Fl p Ar proto-username
-.Ar username ...
+.Ar username | uid ...
.Nm edquota
.Fl g
.Op Fl p Ar proto-groupname
-.Ar groupname ...
+.Ar groupname | gid ...
.Nm edquota
.Fl t
.Op Fl u
@@ -63,6 +63,9 @@ By default, or if the
.Fl u
flag is specified,
one or more users may be specified on the command line.
+If a numeric id is given instead of a name that uid/gid
+will be used even if there is not a corresponding id in
+the passwd or group files.
For each user a temporary file is created
with an ASCII representation of the current
disk quotas for that user.