X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/blobdiff_plain/47101b66db98c349dc0001db98e36c47a8d4b484..c9fa89c1c461381296da12d84e7eb81c4641a4ca:/adduser/rmuser.8 diff --git a/adduser/rmuser.8 b/adduser/rmuser.8 index e27241a..e24d5ee 100644 --- a/adduser/rmuser.8 +++ b/adduser/rmuser.8 @@ -34,7 +34,7 @@ .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 @@ -78,6 +78,9 @@ Removes the username from all groups to which it belongs in 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 @@ -126,7 +129,7 @@ Anything following a hash mark 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 @@ -138,15 +141,23 @@ prompts on whether to remove the specified user and whether to remove 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 @@ -173,7 +184,7 @@ utility appeared in .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 @@ -183,7 +194,7 @@ or .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