Vincenzo's hacks » decrypt http://vincenzo-ampolo.net hacks, researches, thoughts Wed, 09 Oct 2013 21:27:22 +0000 en-US hourly 1 http://wordpress.org/?v=3.6.1 How to change ecryptfs (home cripted filesystem) password on ubuntu and get your files back http://vincenzo-ampolo.net/2011/02/17/how-to-change-ecryptfs-home-cripted-filesystem-password-on-ubuntu-and-get-your-files-back/ http://vincenzo-ampolo.net/2011/02/17/how-to-change-ecryptfs-home-cripted-filesystem-password-on-ubuntu-and-get-your-files-back/#comments Thu, 17 Feb 2011 16:59:46 +0000 vampolo http://goshawknest.wordpress.com/?p=149 locked hard disk

Have you ever tried to change your user password in a pc with crypted home folder. Well, after doing it you will be not able to access your files anymore cuz your login password now defers from the password to open the ecryptfs of your home directory. Don’t worry! You can easily fix it just doing:

ecryptfs-rewrap-passphrase /home/.ecryptfs/$USER/.ecryptfs/wrapped-passphrase

It will ask for your old password and for the new one. Then just logout and login again and your documents will be decrypted automatically.

So when you change your user password (eg with passwd) remember to run also the command above!

]]>
http://vincenzo-ampolo.net/2011/02/17/how-to-change-ecryptfs-home-cripted-filesystem-password-on-ubuntu-and-get-your-files-back/feed/ 8