Operating System - Linux
1828792 Members
2458 Online
109985 Solutions
New Discussion

security - change logged failed attempts to 3 before logging to syslog

 
SOLVED
Go to solution
Ratzie
Super Advisor

security - change logged failed attempts to 3 before logging to syslog

Is there a setting that can be set, failed logging attempts will only log to the syslog after they have failed 3 time in a row?

Right now I have to report any failed passwd entry in the syslog, and if I fat finger my passwd once, I have to create a report.
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: security - change logged failed attempts to 3 before logging to syslog

Shalom,

If you wish to convert your system to trusted, this is the default configuration.

lastb -R

Will produce a report of all bad login attempts.

I can give you a script that analyzes lastb output and disables any account that has 3 bad attempts. It will take some time for me to find the script so let me know.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor
Solution

Re: security - change logged failed attempts to 3 before logging to syslog

Okay it was easier to find the script. It will need minor tweaks.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com