![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Number of login attempts on solaris 10 | manoj.solaris | SUN Solaris | 2 | 08-11-2007 01:06 PM |
| Denying IPaddress for Multiple Failed Login Attempts | metzgerh | AIX | 1 | 12-13-2006 04:13 PM |
| invalid login attempts... | mr_manny | SUN Solaris | 6 | 12-01-2005 02:10 PM |
| freebsd auto login user at boot / i'm stuck | termiEEE | UNIX for Dummies Questions & Answers | 6 | 02-26-2004 01:18 PM |
| Maximum 3 login attempts | champion | UNIX for Advanced & Expert Users | 2 | 01-16-2003 09:17 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Does anyone have a good script / cron job that handles this?
I have looked in smit and see it is clearing this count with: chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s '{userid}' However when I looked around to find ways to automate this I have not found an easy solution. I know that the file …/lastlog is a text file however I am not good at stanza filtering. Thus do not know who has hit the limit to pass to the chsec command. user1: time_last_login = 1167758143 tty_last_login = /dev/pts/2 host_last_login = joe.somewhere.com unsuccessful_login_count = 2 time_last_unsuccessful_login = 1166659165 tty_last_unsuccessful_login = /dev/pts/4 host_last_unsuccessful_login = joe.somewhere.com user2: time_last_unsuccessful_login = 1166735510 tty_last_unsuccessful_login = /dev/pts/0 host_last_unsuccessful_login = jane.somewhere.com unsuccessful_login_count = 5 time_last_login = 1166738412 any help would be great. -KJ |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|