This is a quick reference guide on how to delete a user on Linux Based Operating Systems.
Delete a user.
root@VPS:~# userdel vpsuser
Delete the users home directory and mail spool.
root@VPS:~# deluser vpsuser --remove-home Looking for files to backup/remove ... Removing files ... Removing user `vpsuser' ... Warning: group `vpsuser' has no more members. Done.
Delete all user files.
root@VPS:~# deluser --remove-all-files vpsuser
If you are new to the world of Linux, an avid Linux enthusiast or a student why not try our 0.99p per month Linux VPS.
Simply click on the screen shot below to find out more or navigate to https://piggybank.cloud
Thank you for reading and please feel free to leave any feedback.