Ubuntu: Accidentally typed password in username input, any logs to clear?



Question:

I have accidentally typed my password in SSH's interactive username prompt. Are there any log files that I should clear?


Solution:1

/var/log/auth.log

Search for "Invalid user"


Solution:2

/var/log/btmp contains, in binary form, a log of the details of failed login attempts.

last -f /var/log/btmp will show you the contents of that file, which will likely include your mistake.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »