• Increase font size
  • Default font size
  • Decrease font size

How to Delete Users

 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
 

Add comment


Security code
Refresh