sayajay.net

deleting a user and their home directory in ubuntu

March 16, 2020, 7:00 AM

deleting a user and their home directory in ubuntu

To delete the home directory of a user named dildomall on an Ubuntu linux system, do this as the root user:

userdel dildomall

But that's not enough, is it. We have remove dildomall's massive collection of furry porn too:

userdel -r dildomall

For the sake of plausible deniability and "security", this also removes dildomall's mail spool and SSH access.