From 659446b9f8764a87306e5bd4c3afdda6f053566d Mon Sep 17 00:00:00 2001 From: Philippe Charnier Date: Sun, 14 Jul 2002 14:47:15 +0000 Subject: The .Nm utility --- adduser/adduser.8 | 13 +++++++------ adduser/rmuser.8 | 24 +++++++++++++++--------- 2 files changed, 22 insertions(+), 15 deletions(-) (limited to 'adduser') diff --git a/adduser/adduser.8 b/adduser/adduser.8 index 71078a3..0f52c3b 100644 --- a/adduser/adduser.8 +++ b/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/adduser/rmuser.8 b/adduser/rmuser.8 index d3ed353..2e55694 100644 --- a/adduser/rmuser.8 +++ b/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. -- cgit v1.2.3-56-ge451