Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/user Sync with HEAD [simonb]:
details: https://anonhg.NetBSD.org/src/rev/b0cfbddab106
branches: netbsd-1-5
changeset: 489966:b0cfbddab106
user: tv <tv%NetBSD.org@localhost>
date: Fri Oct 20 20:00:30 2000 +0000
description:
Sync with HEAD [simonb]:
Numerous cosmetic fixes and bug fixes, already discussed to be part of 1.5.
diffstat:
usr.sbin/user/group.8 | 19 +++----
usr.sbin/user/groupadd.8 | 5 +-
usr.sbin/user/groupinfo.8 | 9 ++-
usr.sbin/user/groupmod.8 | 5 +-
usr.sbin/user/user.8 | 35 ++++++---------
usr.sbin/user/useradd.8 | 106 +++++++++++++++++++++++++++++++--------------
usr.sbin/user/userdel.8 | 41 ++++++++++------
usr.sbin/user/userinfo.8 | 9 ++-
usr.sbin/user/usermod.8 | 50 +++++++++++++-------
9 files changed, 165 insertions(+), 114 deletions(-)
diffs (truncated from 659 to 300 lines):
diff -r 82df4765c518 -r b0cfbddab106 usr.sbin/user/group.8
--- a/usr.sbin/user/group.8 Fri Oct 20 20:00:18 2000 +0000
+++ b/usr.sbin/user/group.8 Fri Oct 20 20:00:30 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: group.8,v 1.4 2000/02/28 05:10:56 enami Exp $ */
+.\" $NetBSD: group.8,v 1.4.4.1 2000/10/20 20:00:30 tv Exp $ */
.\"
.\"
.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -39,26 +39,23 @@
.Nd manage group information on the system
.Sh SYNOPSIS
.Nm ""
-add
+.Cm add
+.Op Fl ov
.Op Fl g Ar gid
-.Op Fl o
-.Op Fl v
.Ar group
.Nm ""
-del
+.Cm del
.Op Fl v
.Ar group
.Nm ""
-info
-.Op Fl e
-.Op Fl v
+.Cm info
+.Op Fl ev
.Ar group
.Nm ""
-mod
+.Cm mod
+.Op Fl ov
.Op Fl g Ar gid
.Op Fl n Ar newname
-.Op Fl o
-.Op Fl v
.Ar group
.Sh DESCRIPTION
The
diff -r 82df4765c518 -r b0cfbddab106 usr.sbin/user/groupadd.8
--- a/usr.sbin/user/groupadd.8 Fri Oct 20 20:00:18 2000 +0000
+++ b/usr.sbin/user/groupadd.8 Fri Oct 20 20:00:30 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: groupadd.8,v 1.4 2000/02/28 05:10:56 enami Exp $ */
+.\" $NetBSD: groupadd.8,v 1.4.4.1 2000/10/20 20:00:31 tv Exp $ */
.\"
.\"
.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -39,9 +39,8 @@
.Nd add a group to the system
.Sh SYNOPSIS
.Nm
+.Op Fl ov
.Op Fl g Ar gid
-.Op Fl o
-.Op Fl v
.Ar group
.Sh DESCRIPTION
The
diff -r 82df4765c518 -r b0cfbddab106 usr.sbin/user/groupinfo.8
--- a/usr.sbin/user/groupinfo.8 Fri Oct 20 20:00:18 2000 +0000
+++ b/usr.sbin/user/groupinfo.8 Fri Oct 20 20:00:30 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: groupinfo.8,v 1.2 2000/02/28 05:10:56 enami Exp $ */
+.\" $NetBSD: groupinfo.8,v 1.2.4.1 2000/10/20 20:00:31 tv Exp $ */
.\"
.\"
.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -39,8 +39,7 @@
.Nd displays group information
.Sh SYNOPSIS
.Nm
-.Op Fl e
-.Op Fl v
+.Op Fl ev
.Ar group
.Sh DESCRIPTION
The
@@ -59,7 +58,9 @@
perform any actions in a verbose manner.
.El
.Pp
-The group argument may either be a group's name, or a gid.
+The
+.Ar group
+argument may either be a group's name, or a gid.
.Pp
The
.Nm
diff -r 82df4765c518 -r b0cfbddab106 usr.sbin/user/groupmod.8
--- a/usr.sbin/user/groupmod.8 Fri Oct 20 20:00:18 2000 +0000
+++ b/usr.sbin/user/groupmod.8 Fri Oct 20 20:00:30 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: groupmod.8,v 1.4 2000/02/28 05:10:56 enami Exp $ */
+.\" $NetBSD: groupmod.8,v 1.4.4.1 2000/10/20 20:00:32 tv Exp $ */
.\"
.\"
.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -39,10 +39,9 @@
.Nd modify an existing group on the system
.Sh SYNOPSIS
.Nm
+.Op Fl ov
.Op Fl g Ar gid
.Op Fl n Ar newname
-.Op Fl o
-.Op Fl v
.Ar group
.Sh DESCRIPTION
The
diff -r 82df4765c518 -r b0cfbddab106 usr.sbin/user/user.8
--- a/usr.sbin/user/user.8 Fri Oct 20 20:00:18 2000 +0000
+++ b/usr.sbin/user/user.8 Fri Oct 20 20:00:30 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: user.8,v 1.5 2000/02/28 05:10:57 enami Exp $ */
+.\" $NetBSD: user.8,v 1.5.4.1 2000/10/20 20:00:32 tv 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
.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
+.Cm del
+.Op Fl prv
.Ar user
.Nm ""
-info
-.Op Fl e
-.Op Fl v
+.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,12 +84,9 @@
.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
.Ar user
.Sh DESCRIPTION
The
@@ -114,7 +107,7 @@
.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 ,
diff -r 82df4765c518 -r b0cfbddab106 usr.sbin/user/useradd.8
--- a/usr.sbin/user/useradd.8 Fri Oct 20 20:00:18 2000 +0000
+++ b/usr.sbin/user/useradd.8 Fri Oct 20 20:00:30 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: useradd.8,v 1.5 2000/02/28 05:10:57 enami Exp $ */
+.\" $NetBSD: useradd.8,v 1.5.4.1 2000/10/20 20:00:33 tv Exp $ */
.\"
.\"
.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -39,74 +39,101 @@
.Nd add a user to the system
.Sh SYNOPSIS
.Nm ""
-.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 r Ar low..high
+.Oo
+.Fl g Ar gid | name | Li =uid Oc
+.Oo
+.Op Fl k Ar skel-dir
+.Fl r Ar low Ns Li .. Ns Ar high
+.Oc
+.Op Fl s Ar shell
.Nm ""
+.Op Fl mov
.Op Fl G Ar secondary-group
.Op Fl b Ar base-dir
.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
+.Oo
+.Fl g Ar gid | name | Li =uid Oc
.Op Fl k Ar skel-dir
-.Op Fl m
-.Op Fl o
.Op Fl p Ar password
-.Op Fl r Ar low..high
+.Oo
+.Fl r Ar low Ns Li .. Ns Ar high
+.Oc
.Op Fl s Ar shell
.Op Fl u Ar uid
-.Op Fl v
.Ar user
.Sh DESCRIPTION
The
.Nm useradd
utility adds a user to the system, creating and
populating a home directory if necessary.
-Any skeleton dot files will be provided
+Any skeleton files will be provided
for the new user if they exist in the
.Pa /etc/skel
directory.
-Default values for the base directory, the time of password expiry,
+Default values for
+the base directory,
+the time of password expiry,
+seconds until password change,
+primary group,
the skeleton directory,
-seconds until password change, primary group, the range from which the uid will be
-allocated,
-and default login shell can be provided in the
+the range from which the uid will be allocated,
+and default login shell
+can be provided in the
.Pa /etc/usermgmt.conf
file.
.Pp
-The first format of the command shown above (utilising the -D option)
+The first format of the command shown above (utilising the
+.Fl D
+option)
sets and displays the defaults for the
.Nm
utility.
.Bl -tag -width Ds
.It Fl D
-without any further options, -D will show the current defaults which
+without any further options,
+.Fl D
+will show the current defaults which
will be used by the
.Nm
utility. Together with one of the options shown for the first version
-of the command, -D will set the default to be the new value.
+of the command,
+.Fl D
Home |
Main Index |
Thread Index |
Old Index