Admin-Ahead Community

Linux => General Linux => Topic started by: Aby on November 09, 2013, 06:51:36 am

Title: To check the login attempts to see if it needs to be reset...
Post by: Aby on November 09, 2013, 06:51:36 am
===
To check the login attempts to see if it needs to be reset
To check the login attempts to see if it needs to be reset type faillog -u

root@testsrv:~ # faillog -u user1
Username Failures Maximum Latest
user1 15 0

Reset the counter with the -r flag:

root@testsrv:~ # /usr/bin/faillog -r user1
Username Failures Maximum Latest
user1 0 0
===