Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.sbin/user Pull up revisions 1.5-1.7 (requested by s...



details:   https://anonhg.NetBSD.org/src/rev/9f48b97f4bb6
branches:  netbsd-1-4
changeset: 471175:9f48b97f4bb6
user:      he <he%NetBSD.org@localhost>
date:      Wed Oct 25 17:06:20 2000 +0000

description:
Pull up revisions 1.5-1.7 (requested by simonb):
  Synchronize to current versions of the user management tool.
  Fixes PR#11100, PR#11103, PR#11123 and PR#10985.

diffstat:

 usr.sbin/user/user.8 |  75 +++++++++++++++++++++++++++------------------------
 1 files changed, 40 insertions(+), 35 deletions(-)

diffs (132 lines):

diff -r ed9209abdce2 -r 9f48b97f4bb6 usr.sbin/user/user.8
--- a/usr.sbin/user/user.8      Wed Oct 25 17:06:01 2000 +0000
+++ b/usr.sbin/user/user.8      Wed Oct 25 17:06:20 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: user.8,v 1.4.4.2 2000/01/21 00:01:00 he Exp $ */
+.\" $NetBSD: user.8,v 1.4.4.3 2000/10/25 17:06:20 he Exp $ */
 .\"
 .\"
 .\" Copyright (c) 1999 Alistair G. Crooks.  All rights reserved.
@@ -39,15 +39,16 @@
 .Nd manage user login information on the system
 .Sh SYNOPSIS
 .Nm ""
-add
-.Op Fl D
+.Cm add
+.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 r Ar low..high
 .Nm ""
-add
+.Cm add
+.Op Fl mov
 .Op Fl G Ar secondary-group
 .Op Fl b Ar base-dir
 .Op Fl c Ar comment
@@ -56,31 +57,26 @@
 .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 p Ar password
 .Op Fl r Ar low..high
 .Op Fl s Ar shell
 .Op Fl u Ar uid
-.Op Fl v
-user
+.Ar user
 .Nm ""
-del
-.Op Fl D
+.Cm del
+.Fl D
 .Op Fl p Ar preserve-value
 .Nm ""
-del
-.Op Fl p
-.Op Fl r
-.Op Fl v
-user
+.Cm del
+.Op Fl prv
+.Ar user
 .Nm ""
-info
-.Op Fl e
-.Op Fl v
-user
+.Cm info
+.Op Fl ev
+.Ar user
 .Nm ""
-mod
+.Cm mod
+.Op Fl mov
 .Op Fl G Ar secondary-group
 .Op Fl c Ar comment
 .Op Fl d Ar home-dir
@@ -88,13 +84,10 @@
 .Op Fl f Ar inactive-secs
 .Op Fl g Ar gid/name/=uid
 .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
-user
+.Ar user
 .Sh DESCRIPTION
 The
 .Nm
@@ -111,6 +104,29 @@
 The
 .Nm
 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]*
+Skeleton files for new user
+.It Pa /etc/usermgmt.conf
+Configuration file for
+.Xr user 8 ,
+.Xr group 8
+and those backend commands
+.It Pa /usr/share/examples/usermgmt
+A directory hopefully containing examples for
+.Xr user 8
+and
+.Xr group 8
+.El
+.Sh SEE ALSO
+.Xr chpass 1 ,
+.Xr group 5 ,
+.Xr passwd 5 ,
+.Xr useradd 8 ,
+.Xr userdel 8 ,
+.Xr userinfo 8 ,
+.Xr usermod 8
 .Sh HISTORY
 The
 .Nm
@@ -123,14 +139,3 @@
 The
 .Nm
 utility was written by Alistair G. Crooks (agc%netbsd.org@localhost).
-.Sh SEE ALSO
-.Xr chpass 1 ,
-.Xr group 5 ,
-.Xr /etc/skel/.[A-z]* ,
-.Xr /etc/usermgmt.conf ,
-.Xr /usr/share/examples/usermgmt ,
-.Xr passwd 5 ,
-.Xr useradd 8 ,
-.Xr userdel 8 ,
-.Xr userinfo 8 ,
-.Xr usermod 8 .



Home | Main Index | Thread Index | Old Index