Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just reinstalled Ubuntu, Natty. I set to use encrypted home, but once the system was running, I was asked to define the encrypted home passphrase. Out of haste, I skipped that, but now I want to define the passphrase but I couldn't find out how (despite how trivial this sounds).

I set my /home to a specific partition, so I may reinstall Ubuntu without losing my data whenever I need it, and I guess this is the passphare that I'd need to supply to recover my data on a new install, am I right?

Please, how can I define/change my passphrase?

Thanks!

share|improve this question
1  
This got me a Thumbleweed... nobody to help out? –  mdrg May 9 '11 at 23:06
add comment

1 Answer

up vote 3 down vote accepted

Sorry I'm late, I just see this question today.
You can do that by running this command at terminal:

ecryptfs-unwrap-passphrase ~/.ecryptfs/wrapped-passphrase 

The information you missed when you skiped was:

enter image description here

share|improve this answer
1  
Thanks! Now, am I supposed to just write this down somewhere? Can't I change this passphrase to something easy to remember? Should I do that, if possible? –  mdrg May 21 '11 at 20:05
    
You can change the passphrase with this ecryptfs-rewrap-passphrase but I would advice you to keep a strong and difficult to remember passphrase. Just write it down to a secure note. –  desgua May 21 '11 at 20:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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