diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-09-18 01:50:45 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-09-18 01:50:45 +0000 |
commit | 5f610acde4b50ae807a040567dbdc12bee43d3a0 (patch) | |
tree | 2a3b2af3056e165bfda5c579d05624e7867f5f5e /usr.sbin/user/user.8 | |
parent | 7531bbfd9aa23c4fe2ae66af256603fcb5a9c810 (diff) |
Sync with NetBSD plus the following changes:
o use LINE_MAX for the max password entry length. This is also what
pwd_mkdb does.
o add more checks for lines that are too long
o kill some useless (and incorrect) casts
o check snprintf() return vals for sanity before use
o sync usage() with man pages
o slight KNF
o eliminate some silly uses of snprintf
Diffstat (limited to 'usr.sbin/user/user.8')
-rw-r--r-- | usr.sbin/user/user.8 | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/usr.sbin/user/user.8 b/usr.sbin/user/user.8 index 2fd9d20f427..ee7d9ed3f2e 100644 --- a/usr.sbin/user/user.8 +++ b/usr.sbin/user/user.8 @@ -1,6 +1,5 @@ -.\" $OpenBSD: user.8,v 1.8 2001/08/02 18:37:35 mpech Exp $ */ -.\" $NetBSD: user.8,v 1.5 2000/02/28 05:10:57 enami Exp $ */ -.\" +.\" $OpenBSD: user.8,v 1.9 2001/09/18 01:50:44 millert Exp $ +.\" $NetBSD: user.8,v 1.9 2001/06/05 11:31:21 wiz Exp $ .\" .\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved. .\" @@ -32,7 +31,7 @@ .\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" -.Dd November 30, 1999 +.Dd September 5, 2001 .Dt USER 8 .Os .Sh NAME @@ -40,13 +39,15 @@ .Nd manage user login information on the system .Sh SYNOPSIS .Nm user add -.Op Fl D +.Fl D .Op Fl b Ar base-dir .Op Fl e Ar expiry-time .Op Fl f Ar inactive-secs .Op Fl g Ar gid/name/=uid +.Op Fl L Ar login-class .Op Fl r Ar low..high .Nm user add +.Op Fl mov .Op Fl G Ar secondary-group .Op Fl b Ar base-dir .Op Fl c Ar comment @@ -55,40 +56,34 @@ .Op Fl f Ar inactive-secs .Op Fl g Ar gid/name/=uid .Op Fl k Ar skel-dir -.Op Fl m -.Op Fl o +.Op Fl L Ar login-class .Op Fl p Ar password .Op Fl r Ar low..high .Op Fl s Ar shell .Op Fl u Ar uid -.Op Fl v .Ar user .Nm user del -.Op Fl D +.Fl D .Op Fl p Ar preserve-value .Nm user del -.Op Fl p -.Op Fl r -.Op Fl v +.Op Fl prv .Ar user .Nm user info -.Op Fl e -.Op Fl v +.Op Fl ev .Ar user .Nm user mod +.Op Fl mov .Op Fl G Ar secondary-group .Op Fl c Ar comment .Op Fl d Ar home-dir .Op Fl e Ar expiry-time .Op Fl f Ar inactive-secs .Op Fl g Ar gid/name/=uid +.Op Fl L Ar login-class .Op Fl l Ar new-login -.Op Fl m -.Op Fl o .Op Fl p Ar password .Op Fl s Ar shell .Op Fl u Ar uid -.Op Fl v .Ar user .Sh DESCRIPTION The @@ -109,7 +104,7 @@ utility exits 0 on success, and >0 if an error occurs. .Sh FILES .Bl -tag -width /etc/usermgmt.conf -compact .It Pa /etc/skel/.[A-z]* -Skelton dot files for new user +Skeleton files for new user .It Pa /etc/usermgmt.conf Configuration file for .Xr user 8 , |