userdel - Deletes a user account from systemFollow @ggarron
To erase an existing user account, or login from a Linux machine, you can use userdel, be sure to use this with care, as its actions can not be undone.
userdel [options] LOGIN
Some of its options are:
- -r remove user account
- -f force user removal, even if the user is still logged, and removes its home and mail spool even if they are used by another user
userdel -r user
Be sure to read the man page of userdel