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 revision 1.4-1.8 (requested by si...



details:   https://anonhg.NetBSD.org/src/rev/307474c877da
branches:  netbsd-1-4
changeset: 471177:307474c877da
user:      he <he%NetBSD.org@localhost>
date:      Wed Oct 25 17:07:02 2000 +0000

description:
Pull up revision 1.4-1.8 (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/userdel.8 |  54 +++++++++++++++++++++++++++++-------------------
 1 files changed, 33 insertions(+), 21 deletions(-)

diffs (101 lines):

diff -r fe7d5db19ce6 -r 307474c877da usr.sbin/user/userdel.8
--- a/usr.sbin/user/userdel.8   Wed Oct 25 17:06:42 2000 +0000
+++ b/usr.sbin/user/userdel.8   Wed Oct 25 17:07:02 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: userdel.8,v 1.3.4.2 2000/01/21 00:01:21 he Exp $ */
+.\" $NetBSD: userdel.8,v 1.3.4.3 2000/10/25 17:07:02 he Exp $ */
 .\"
 .\"
 .\" Copyright (c) 1999 Alistair G. Crooks.  All rights reserved.
@@ -39,13 +39,11 @@
 .Nd remove a user from the system
 .Sh SYNOPSIS
 .Nm ""
-.Op Fl D
+.Fl D
 .Op Fl p Ar preserve-value
 .Nm ""
-.Op Fl p
-.Op Fl r
-.Op Fl v
-user
+.Op Fl prv
+.Ar user
 .Sh DESCRIPTION
 The
 .Nm
@@ -58,13 +56,18 @@
 utility.
 .Bl -tag -width Ds
 .It Fl D
-without any further options, -D will show the current defaults which
-will be used by the
+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
+will set the default to be the new value.
 .It Fl p Ar preserve-value
-sets the preservation value. If this value is one of "true", "false",
+sets the preservation value. If this value is one of
+.Ql true ,
+.Ql yes ,
 or a non-zero number, then the user login information will be preserved.
 .El
 .Pp
@@ -73,16 +76,22 @@
 .It Fl p
 preserve the user information in the password file,
 but do not allow the user to login, by switching the
-password to an "impossible" one, and by setting the
-user's shell the the false(1) program.
-This option can be helpful in preserving a user's
+password to an
+.Dq impossible
+one, and by setting the
+user's shell to the 
+.Xr false 1
+program. This option can be helpful in preserving a user's
 files for later use by members of that person's
 group after the user has moved on.
 This value can also be set in the
-/etc/usermgmt.conf
-file, using the "preserve" field. If the field
-has any of the values "true", "yes", or a non-zero number,
-then user information preservation will take place.
+.Pa /etc/usermgmt.conf
+file, using the
+.Ql preserve
+field. If the field has any of the values
+.Ql true ,
+.Ql yes ,
+or a non-zero number, then user information preservation will take place.
 .It Fl r
 remove the user's home directory, any subdirectories,
 and any files and other entries in them.
@@ -93,6 +102,13 @@
 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/usermgmt.conf
+.El
+.Sh SEE ALSO
+.Xr false 1 ,
+.Xr passwd 5
 .Sh HISTORY
 The
 .Nm
@@ -105,7 +121,3 @@
 The
 .Nm
 utility was written by Alistair G. Crooks (agc%netbsd.org@localhost).
-.Sh SEE ALSO
-.Xr false 1 ,
-.Xr passwd 5 ,
-.Xr /etc/usermgmt.conf



Home | Main Index | Thread Index | Old Index