Main index | Section 8 | 日本語 | Options |
The rmuser utility 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. If it is necessary to remove a user whose UID is 0, see vipw(8) for information on directly editing the password file.
If
rmuser
was not invoked with the
As rmuser operates, it informs the user regarding the current activity. If any errors occur, they are posted to standard error and, if it is possible for rmuser to continue, it will.
The options are as follows:
| |
The rmuser utility will get a list of users to be removed from file, which will contain one user per line. 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 writable by anyone other than the owner, rmuser will refuse to continue. | |
| |
Implicitly answer
"yes"
to any and all prompts.
Currently, this includes
prompts on whether to remove the specified user and whether to remove
the home directory.
This option requires that either the
| |
| |
Enable verbose mode. Normally, the output includes one line per removed user; however, with this option rmuser will be much more chatty about the steps taken. | |
username | |
Identifies one or more users to be removed; if not present, rmuser interactively asks for one or more users to be removed. | |
/etc/master.passwd
/etc/passwd /etc/group /etc/spwd.db /etc/pwd.db | |
The rmuser utility has no knowledge of YP/NIS, and it operates only on the local password file.
RMUSER (8) | May 10, 2002 |
Main index | Section 8 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | UNIX has been evolving feverishly for close to 30 years, sort of like bacteria in a cesspool — only not as attractive | ” |
— John Levine, "Unix for Dummies" |