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?

  • 1
    If 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 Oct 8 '13 at 13:36

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.