Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
RMUSER(8)		  BSD System Manager's Manual		     RMUSER(8)

NAME
     rmuser -- remove users from the system

SYNOPSIS
     rmuser [username]

DESCRIPTION
     The rmuser	utility	removes	a user's crontab(1) entry (if any) and any
     at(1) jobs	belonging to the user, then removes a user from	the system's
     local password file, removes the user's home directory if it is owned by
     the user, and removes the user's incoming mail file if it exists.	The
     username is removed from any groups to which it belongs in	the file
     /etc/group.  If a group becomes empty and the group name is the same as
     the username, the group is	removed	(this complements adduser(8) 's	per-
     user unique groups).

     Rmuser politely refuses to	remove users whose uid is 0 (typically root),
     since it seemed like a good idea at the time rmuser was written.

     Rmuser shows the selected user's password file entry and asks for confir-
     mation that you wish to remove the	user.  If the user's home directory is
     owned by the user (and not	by any other user), rmuser asks	whether	you
     wish to remove the	user's home directory and everything below.

     Available options:

     username  Identifies the user to be removed; if not present, rmuser in-
	       teractively asks	for the	user to	be removed.

FILES
     /etc/master.passwd
     /etc/passwd
     /etc/group
     /etc/spwd.db
     /etc/pwd.db

SEE ALSO
     at(1), chpass(1), crontab(1), finger(1), passwd(1), group(5), passwd(5),
     addgroup(8), adduser(8), pwd_mkdb(8), rmgroup(8), vipw(8)

HISTORY
     The rmuser	command	appeared in FreeBSD 2.1.5.

BSD				 July 16, 1996				   BSD

NAME | SYNOPSIS | DESCRIPTION | FILES | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=rmuser&manpath=FreeBSD+2.2.5-RELEASE>

home | help