I accidentally enabled
/home encryption on installation. So I need to decrypt it manually from console after every system start. I do it with
ecryptfs-umount-private. How can I make the decryption automatically at startup?
You could decrypt it permanently, using :
- Backup the home directory while you are logged in
sudo cp -rp /home/user /home/user.backup
1.1. Check that your home backup has everything!!!
- reboot into root via grub
OR you could just switch to using root (another user account with
sudoprivileges would work equally well).
- Delete your home directory
rm -rf /home/user
Then remove the packages
apt-get remove ecryptfs-utils libecryptfs0
- Restore your home directory
mv /home/user.backup /home/user
- Remove any of those
rm -rf ~/.Private
rm -rf ~/.ecryptfs
This worked for me. Home folder file permissions stay intact and does not bugger up Dropbox or git repos. Some reason my fresh install on Ubuntu 9.10 would not do the first command.