summaryrefslogtreecommitdiff
path: root/usr.sbin/adduser
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-06-12 12:59:55 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-06-12 12:59:55 +0000
commitd165f2bd0ac5bf9c00ee94add1b5e0c2869c120c (patch)
treeb4d1019d0295c1a5c47fa5300035e828a0573003 /usr.sbin/adduser
parent0a4456856fb720c08f83dac043509dda2676828d (diff)
- section reorder
- macro fixes - kill whitespace at EOL - new sentence, new line
Diffstat (limited to 'usr.sbin/adduser')
-rw-r--r--usr.sbin/adduser/adduser.865
-rw-r--r--usr.sbin/adduser/rmgroup.83
2 files changed, 34 insertions, 34 deletions
diff --git a/usr.sbin/adduser/adduser.8 b/usr.sbin/adduser/adduser.8
index cc3e99794a4..5dce1d6f4f3 100644
--- a/usr.sbin/adduser/adduser.8
+++ b/usr.sbin/adduser/adduser.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: adduser.8,v 1.29 2003/06/10 21:55:02 millert Exp $
+.\" $OpenBSD: adduser.8,v 1.30 2003/06/12 12:59:48 jmc Exp $
.\"
.\" Copyright (c) 1995-1996 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
.\" All rights reserved.
@@ -63,7 +63,8 @@
.Op Fl unencrypted
.Ek
.Pp
-.Nm rmuser Op Ar username
+.Nm rmuser
+.Op Ar username
.Sh DESCRIPTION
The
.Nm adduser
@@ -225,8 +226,9 @@ politely refuses to remove users whose UID is 0 (typically root).
.Bl -tag -width Ds
.It Sy username
It is recommended that login names contain only lowercase characters
-and digits. They may also contain uppercase characters, non-leading
-hyphens, periods, and a trailing '$'.
+and digits.
+They may also contain uppercase characters, non-leading hyphens,
+periods, and a trailing '$'.
Login names may not be longer than 31 characters (see BUGS section of
.Xr setlogin 2 ) .
.\" The reasons for this limit are "Historical".
@@ -297,14 +299,13 @@ access to it.
follows these steps to extract its configuration
information:
.Pp
-.Bl -tag -width Ds -compact
-.It Sy 1.
+.Bl -enum -offset indent -compact
+.It
Read internal variables.
-.It Sy 2.
+.It
Read configuration file
-.Po Ns Pa /etc/adduser.conf
-.Pc .
-.It Sy 3.
+.Pq Pa /etc/adduser.conf .
+.It
Parse command-line options.
.El
.Pp
@@ -324,6 +325,28 @@ format is explained within that file and is quite straightforward.
.\" Eval variables in this file. See /etc/adduser.message for more
.\" details.
.\" .El
+.Sh FILES
+.Bl -tag -width /etc/adduser.messageX -compact
+.It Pa /etc/master.passwd
+user database
+.It Pa /etc/group
+group database
+.It Pa /etc/shells
+shell database
+.It Pa /etc/ptmp
+lock file for the passwd database
+.It Pa /etc/adduser.conf
+configuration file for
+.Nm adduser
+.It Pa /etc/adduser.message
+message file for
+.Nm
+.It Pa /etc/skel
+skeletal login directory
+.It Pa /var/log/adduser
+log file for
+.Nm
+.El
.Sh EXAMPLES
# adduser
.Pp
@@ -363,28 +386,6 @@ in login group
Start the free UID search at 5000.
No other groups, no realname, no password.
Do not send a welcome message.
-.Sh FILES
-.Bl -tag -width /etc/adduser.messageX -compact
-.It Pa /etc/master.passwd
-user database
-.It Pa /etc/group
-group database
-.It Pa /etc/shells
-shell database
-.It Pa /etc/ptmp
-lock file for the passwd database
-.It Pa /etc/adduser.conf
-configuration file for
-.Nm adduser
-.It Pa /etc/adduser.message
-message file for
-.Nm
-.It Pa /etc/skel
-skeletal login directory
-.It Pa /var/log/adduser
-log file for
-.Nm
-.El
.Sh SEE ALSO
.Xr chpass 1 ,
.Xr finger 1 ,
diff --git a/usr.sbin/adduser/rmgroup.8 b/usr.sbin/adduser/rmgroup.8
index 2dc645f7cf0..e20cff2dac5 100644
--- a/usr.sbin/adduser/rmgroup.8
+++ b/usr.sbin/adduser/rmgroup.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rmgroup.8,v 1.10 2001/08/17 11:13:58 mpech Exp $
+.\" $OpenBSD: rmgroup.8,v 1.11 2003/06/12 12:59:49 jmc Exp $
.\"
.\" Copyright (c) 1996 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
.\" All rights reserved.
@@ -25,7 +25,6 @@
.\" SUCH DAMAGE.
.\"
.\" $From: rmgroup.8,v 1.1 1996/11/04 17:21:11 wosch Exp $
-
.Dd October 30, 1996
.Dt RMGROUP 8
.Os