Ubuntu 12.04 delete user and all associated directories

1

I have already deleted a user on Ubuntu 12.04 Server (userdel userName) however their /home/userName directory still remains. Can I simply rm -rf the users home directory or are there dependencies on this directory?

Dean

Posted 2013-10-08T13:32:22.667

Reputation: 13

1If you already removed the user you can delete the directory without worry. Any dependencies that did exist are not relevant since the user is deleted. – Ramhound – 2013-10-08T13:36:52.710

Answers

3

You can simply remove the home folder. There should be no issues. You can also ask to userdel to do it for you next time by using the --remove option.

Spack

Posted 2013-10-08T13:32:22.667

Reputation: 1 203