How can I get a list of all incorrect passwords used whenever someone tried to log in. And how can this be generalized to all types of password fields in linux?

As it mentioned by K1773R, yes it's a not good for security, But i still wanted a temporary solution.


You realy should'nt do this. In case you enter your password with just 1 char wrong, everyone who has access to that list/logfile can guess your password.

Log who and when someone failed to authenticate. What your trying to achieve is a security risk.

  • Actually i know that it's a security risk, but i still want to know how can this be archived(Temporarily). – scopeInfinity May 18 '15 at 14:26
  • you should look at honeypots in this case. – K1773R May 18 '15 at 15:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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