The userdel command is used to remove the user's record from the /etc/passwd and /etc/shadow used in the login process. The command has a single argument, the username.
Usage: userdel [options] LOGIN
Options:
-f, --force force removal of files, even if not owned by user
-h, --help display this help message and exit
-r, --remove remove home directory and mail spool
[root@]# userdel paul
| How to Tell the Groups to Which a User Belongs< Prev | Next >Common Linux log files |
|---|


