Tips: Find AIX user characteristic and change unsuccessful login attempts

Alert:

3004-303 There have been too many unsuccessful login attempts; please see the system administrator

Check AIX user:

<sojungle>@root:/etc/security>  lsuser -f  u_app01

Check his unsuccessful login counter with lsuser

<sojungle>@root:/> /usr/sbin/lsuser -a unsuccessful_login_count u_app01

Then reset the counter with chsec

<sojungle>@root:/> /usr/bin/chsec -f /etc/security/lastlog -a unsuccessful_login_count=0 -s u_app01

Change time

# perl -e ‘use POSIX;print ctime(1365039199)’

->Thu Apr  4 08:33:19 2013

Sojungle blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s