Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having a problem logging into my computer. I have Ubuntu 12.04 and I am 100% sure I didn't change my password, although I tried typing it 100 times, it's not working.

I restarted the computer, I made sure I didn't have caps on or that the layout didn't change, I even tried logging in with ssh, but the password seems to have been changed. I am the only one using my computer. I have a ssd drive and I've heard others complaining to have the same issue with such drives.

I chose to encrypt the home folder when I installed Ubuntu, and I'd like to get it back. I do understand that the whole point of an encrypted home is to be unable to decrypt it, but since I didn't change the password, maybe there's a way ? Maybe, for example, the logging password changed, but not the password that encrypts the home folder ?

What can I do to be able to login again, or at least to get my stuff back?

edit: although I still don't understand why I can't login, I tried using a live CD, and ecryptfs-unwrap-passphrase seems to work when I input the right password, which probably means that all is not lost. I really need help for step by step instructions to decrypt my home file, having the correct password. I don't want to mess it up, there are important files and I don't want to just go and try things I find on google.

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.