Here is the video version, if you prefer it:
If you ever need to delete users, use the userdel
command, as follows:
userdel username
You need to have superuser permissions. Make sure that no processes from the user you are trying to delete are running, or otherwise userdel
will fail to execute. (“How to Delete/Remove Users in Linux (userdel Command),” n.d.)
Hope you learned something useful!
References
How to Delete/Remove Users in Linux (userdel Command). (n.d.). Retrieved February 10, 2020, from https://linuxize.com/post/how-to-delete-users-in-linux-using-the-userdel-command/