How do you set up encryption on your home dir after the debian wheezy install. I missed the part in the graphical install that sets that up for you. I am using the automatic partition on the whole of the Free space
1 Answer
First install ecryptfs-utils (it may already be installed)
sudo apt-get install ecryptfs-utils
then boot to recovery mode and as root run:
ecryptfs-migrate-home -u your_user_to_migrate
After the script runs, log out and log in as your user.
exit
You might also with to run:
ecryptfs-unwrap-passphrase
Enter your use password when prompted and save the information in a safe place in the event you need to perform data recovery.
Last you can delete the temp files / directories created by the migration script and reboot (technically you do not need to reboot).
-
thanks, is there also a way to do the same to the swap and everything else apart from the /boot. I think this is what is does by default in the installer– FutuToadCommented Mar 14, 2014 at 12:04