summaryrefslogtreecommitdiffstats
path: root/usr.sbin/adduser
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-07-14 14:47:15 +0000
committercharnier <charnier@FreeBSD.org>2002-07-14 14:47:15 +0000
commitd2168fe021bd1693c1038503e09d3d74dd8b6f36 (patch)
tree1cffbfcbeace5b3e6b01d3c6b67a9c10233bc810 /usr.sbin/adduser
parent745a7b1537c2ebb511bcf928366eefe72af77dac (diff)
downloadFreeBSD-src-d2168fe021bd1693c1038503e09d3d74dd8b6f36.zip
FreeBSD-src-d2168fe021bd1693c1038503e09d3d74dd8b6f36.tar.gz
The .Nm utility
Diffstat (limited to 'usr.sbin/adduser')
-rw-r--r--usr.sbin/adduser/adduser.813
-rw-r--r--usr.sbin/adduser/rmuser.824
2 files changed, 22 insertions, 15 deletions
diff --git a/usr.sbin/adduser/adduser.8 b/usr.sbin/adduser/adduser.8
index 71078a3..0f52c3b 100644
--- a/usr.sbin/adduser/adduser.8
+++ b/usr.sbin/adduser/adduser.8
@@ -48,9 +48,9 @@
.Op Fl v | verbose
.Ek
.Sh DESCRIPTION
-.Nm Adduser
-is a simple program for adding new users.
-Adduser checks
+The
+.Nm
+utility is a simple program for adding new users. It checks
the passwd, group and shell databases.
It creates passwd/group entries,
.Ev HOME
@@ -189,8 +189,9 @@ Recommended for novice users.
.Ql Pa #
is a comment.
.It Sy configuration file
-.Nm Adduser
-reads and writes this file.
+The
+.Nm
+utility reads and writes this file.
See
.Pa /etc/adduser.conf
for more details.
@@ -239,5 +240,5 @@ logfile for adduser
.Sh HISTORY
The
.Nm
-command appeared in
+utility appeared in
.Fx 2.1 .
diff --git a/usr.sbin/adduser/rmuser.8 b/usr.sbin/adduser/rmuser.8
index d3ed353..2e55694 100644
--- a/usr.sbin/adduser/rmuser.8
+++ b/usr.sbin/adduser/rmuser.8
@@ -37,8 +37,9 @@
.Op Fl y
.Op Ar username
.Sh DESCRIPTION
-The utility
+The
.Nm
+utility
.Pp
.Bl -enum
.It
@@ -76,7 +77,9 @@ the group is removed; this complements
per-user unique groups).
.El
.Pp
-.Nm Rmuser
+The
+.Nm
+utility
politely refuses to remove users whose uid is 0 (typically root), since
certain actions (namely, killing all the user's processes, and perhaps
removing the user's home directory) would cause damage to a running system.
@@ -139,17 +142,19 @@ interactively asks for the user to be removed.
.Sh HISTORY
The
.Nm
-command appeared in
+utility appeared in
.Fx 2.2 .
.\" .Sh AUTHOR
.\" Guy Helmer, Ames, Iowa
.Sh BUGS
-.Nm Rmuser
-does not comprehensively search the filesystem for all files
+The
+.Nm
+utility does not comprehensively search the filesystem for all files
owned by the removed user and remove them; to do so on a system
of any size is prohibitively slow and I/O intensive.
-.Nm Rmuser
-also is unable to remove symbolic links that were created by the
+The
+.Nm
+utility also is unable to remove symbolic links that were created by the
user in
.Pa /tmp
or
@@ -165,6 +170,7 @@ and
.Pa /var/mail/.pop.username
that are not owned by the removed user but should be removed.
.Pp
-.Nm Rmuser
-has no knowledge of NIS (Yellow Pages), and it operates only on the
+The
+.Nm
+utility has no knowledge of NIS (Yellow Pages), and it operates only on the
local password file.
OpenPOWER on IntegriCloud