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

My ubuntu pc is setup to auto login, so since I never have to type my password, I've forgotten it.

Now, normally I'd just reset it, but I used that password for another online service, and I want to login on that service again but I don't know the password.

Is there any way to see my password? I'm logged in the admin account, it auto logins.



share|improve this question
I'm pretty sure Ubuntu doesn't store password in plain text.. But I mean, I could be completely wrong. – Cody Aug 14 '14 at 23:17
You can reset password but not view it. – enedil Aug 15 '14 at 0:05

The actual passwords are not stored, you can only find their hashes in /etc/shadow.

There is no easy way to recover passwords, your best try is to use a software like John the Ripper to crack your password, but if you used a strong password, cracking it might take a very, very long time.

share|improve this answer

for another online service, and I want to login on that service again

The only option in retrieving your password would be to use the password recovery for that on-line service. I have yet to see one that does not offer one.

share|improve this answer

Your Answer


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.