.Nd remove users from the system
.Sh SYNOPSIS
.Nm
-.Op Fl y
+.Op Fl yv
.Op Fl f Ar file
.Op Ar username ...
.Sh DESCRIPTION
the group is removed; this complements
.Xr adduser 8 Ns 's
per-user unique groups.)
+.It
+Removes all message queues, shared memory segments and
+semaphores owned by the user.
.El
.Pp
The
including the hash mark itself, is considered a comment and will not
be processed.
If the file is owned by anyone other than a user with
-UID 0, or is writeable by anyone other than the owner,
+UID 0, or is writable by anyone other than the owner,
.Nm
will refuse to continue.
.It Fl y
the home directory.
This option requires that either the
.Fl f
-option be used, or one or more user names be given as commmand line
+option be used, or one or more user names be given as command line
arguments.
+.It Fl v
+Enable verbose mode.
+Normally,
+the output includes one line per removed user;
+however,
+with this option
+.Nm
+will be much more chatty about the steps taken.
.It Ar username
Identifies one or more users to be removed; if not present,
.Nm
interactively asks for one or more users to be removed.
.El
.Sh FILES
-.Bl -tag -compact
+.Bl -tag -width "Pa /etc/master.passwd" -compact
.It Pa /etc/master.passwd
.It Pa /etc/passwd
.It Pa /etc/group
.Sh BUGS
The
.Nm
-utility does not comprehensively search the filesystem for all files
+utility does not comprehensively search the file system 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.
It is also unable to remove symbolic links that were created by the
.Pa /var/tmp ,
as symbolic links on
.Bx 4.4
-filesystems do not contain information
+file systems do not contain information
as to who created them.
Also, there may be other files created in
.Pa /var/mail