How do I remove a linux system user

Issue/Symptom/Question

I want to remove a linux user.

Applies To

Linux server 

Requires root permissions

Resolution/Fix/Answer

To remove a linux user, log into the Linux Server as the root user and type:

userdel <username>

If you also wish to remove the users home directory, add option -r

userdel <username> -r
Â