Userdel
lastmod 2018-08-17created 2015-03-061 edits
Deletes an existing account's information.
That is, the account entry in /etc/passwd, the password entry in /etc/shadow, and the group information in the /etc/group file.
Options
-
-r - Deletes the mail file in the
/var/spool/mail/directory and all contents of the home directory.