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 would like to be able to find some passwords I forgot to wright down. I use Ubuntu 12.04 LTS.

update I realize I cant find passwords on the buffer but i would like to know how to read the keyboard buffer through the terminal.

share|improve this question
Hm..., passwords are not stored in keyboard buffers. – mikewhatever May 5 '12 at 12:18
How do you figure to manage this? If would be a blatant security flaw if you could find passwords like this. Passwords are tested against what you type in as a password and will never show up in a buffer (unless the actual password is used in a command in plain text like mysql's --password ;)). Btw. all passwords can be reset if you have a sudo user account and the sudo password can be reset from grub and/or a live cd if need be. You might be better off asking how to reset a particular password. – Rinzwind May 5 '12 at 12:34
Are you referring to passwords remembered by your web browser, by any chance? – James Henstridge May 5 '12 at 14:09

I'll just put what @mikewhatever said in an answer:

Keys that you pressed in the past are not stored anywhere.

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.