Skip to content

Instantly share code, notes, and snippets.

@devhero
Created June 26, 2015 09:15
Show Gist options
  • Save devhero/a6e20038c84867ed2702 to your computer and use it in GitHub Desktop.
Save devhero/a6e20038c84867ed2702 to your computer and use it in GitHub Desktop.
How to stop using built-in home directory encryption?
http://askubuntu.com/questions/4950/how-to-stop-using-built-in-home-directory-encryption
1 Backup the home directory while you are logged in:
sudo cp -rp /home/user /home/user.backup
[Check that your home backup has everything!!!]
2 switch to using root (another user account with sudo privileges would work equally well).
3 Delete your home directory rm -rf /home/user
4 Before removing the packages ecryptfs-utils and libecryptfs0 would work, I needed to remove /home/.ecryptfs/<myusername>. (It complained that ecryptfs-utils was in use.)
5 Remove the packages apt-get remove ecryptfs-utils libecryptfs0
6 Restore your home directory mv /home/user.backup /home/user
7 reboot
8 Remove any of those .Private .ecryptfs folders rm -rf ~/.Private rm -rf ~/.ecryptfs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment