How do I display the number of failed login attempts when a user logs in?

Latest response

Hi,

I have a RHEL 6.2 machine.

 

I am required by a customer to display the number of failed login attempts to the users account upon his login.

 

Currently (by default) when the user logs in (SSH) he gets the "Last login: " with the date of the last login.

I could not find where this is configured and how (if at all possible) I can add the # of failed login attempts to the display.

 

Thanks in advance,

Itamar

Responses