Accidentally typed password on logon prompt in Ubuntu TTY, is it stored?

0

1

Note: This is similar, but not identical to the question on how to handle passwords typed into the bash prompt.

On my Ubuntu 14.04 machine, I opened VT1 using Ctrl+Alt+F1 and mistakenly typed my password where the username was to be put. I instinctively hit Ctrl+C as when I usually typo my username, which caused the screen to clear and a new prompt to be drawn with the offending "username" no longer shown.

However, do any logs store the attempted username I entered?

I'd rather not grep the logs with the password.

Reinstate Monica - ζ--

Posted 2014-06-09T22:46:01.487

Reputation: 354

Answers

1

Whenever you enter your password where it ought not to have been entered, a security-concious user ought to change the password. It would be foolish of me to assure you that it's not been cached somewhere, or to provide any definitive list of places it might be found.

Nevin Williams

Posted 2014-06-09T22:46:01.487

Reputation: 3 725

1

If it is recorded anywhere (which I doubt), it is going to be /var/log/btmp. Use the lastb command to check.

fpmurphy

Posted 2014-06-09T22:46:01.487

Reputation: 1 260

0

If you are at all concerned and have a method to fix this error, fix the error. Asking for advice will not really solve this.

Xavierjazz

Posted 2014-06-09T22:46:01.487

Reputation: 7 993

"However, do any logs store the attempted username I entered?" from original question. – Reinstate Monica - ζ-- – 2014-06-09T23:08:37.880