Skip to content

Linux: Deleting a user

Kristina edited this page Jan 3, 2018 · 1 revision

To remove a user just input sudo userdel (username) in the terminal. This will remove the user from the system but it will leave the home folder behind which is good if you want to temporary deny a user access to the system.

Delete a user

If you want to delete the user’s home folder then you’ll need to run the sudo userdel -r (username) command.

Clone this wiki locally