.Nd remove users from the system
.Sh SYNOPSIS
.Nm
-.Op Fl vy
+.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 v
-Enable verbose mode.
-Normally,
-the output inlcudes one line per removed user;
-however,
-with this option
-.Nm
-will be much more chatty about the steps taken.
.It Fl y
Implicitly answer
.Dq Li yes
.Fl f
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