Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

Possible Duplicate:
Encrypted Home… Forgotten Password, but no Passphrase

I encrypted my Home to protect against hackers of course when I first installed Ubuntu. It loaded up the Terminal and was attempting to show me my encryption password incase it ever needed to be used. So I thought "Ehh what the heck, I can find it out later..."

So I closed Terminal and went on with the (amazing!) Ubuntu life. But now I am having to install Java JDK onto my computer to ya know, play games and such. But it is asking for my password for the encrypted Home folder but it never gave it to me... HELP!!!

Does anyone remember the command for Terminal to give you you're randomly generated Encryption password pop up on the famous purple window?

share|improve this question

marked as duplicate by Jorge Castro, James Jul 9 '12 at 13:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

I'm pretty sure this isn't an encryption issue, installing software requires your admin user password. – Jorge Castro Jul 4 '12 at 0:19

It looks as if you are trying to install java, which (I presume it wants root access) needs an administrator's logon password, not the encryption key. Just give it the password you use to log on to Ubuntu. In fact, it is using sudo(or some GUI spinoff, like kdesudo, or gksudo) which uses the admin logon password to get rights to do anything under the system under the root account.


Edit: Also, if it actually needs the encryption key, feel free to run:


upon the terminal to get the long hex string you need.

share|improve this answer
I have attempted to enter my login password but it does not type it out. The "cursor" just flashes waiting for an input on the keyboard, and when I entered the command you gave me (for the encrypted password) it just said ecryptfs-recover-passphrase: command not found – Carlos L. Jul 3 '12 at 15:13
@CarlosL. The logon password will NOT be shown., Still type it and press enter. Also, see edits to answer for the correct command(apologies for error at first). – hexafraction Jul 3 '12 at 15:14
Ok sorry if I am starting to anger you... I ran the unwrap passphrase command WITH the arguments, but it gave me a Error: Unwrapping passphrase failed [-5] – Carlos L. Jul 3 '12 at 15:21
@CarlosL. no, you are not angering me at all, I just have 5 hours to kill, but try it without the arguments, or ensure you have the correct password when the command prompts you. Also, does installing Java work? The logon password isn't shown at all(not even asterisks) by design. – hexafraction Jul 3 '12 at 15:23
Ok well the no arguments did not work either... And do you want me to link you to the website that I am using as a guide to install Java from? – Carlos L. Jul 3 '12 at 15:36

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