Pages

Monday, September 10, 2012

AIX: To bypass any password rule.

Problem :
login: oracle
oracle's Password:
[compat]: 3004-610 You are required to change your password.
        Please choose a new one.

Cannot change password for 6 days

Solution:
pwdadm -f NOCHECK user
chuser "account_locked=false" user
chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s user

echo username:password | chpasswd 

#misc
pwdadm -c user
pwdadm user
pwdadm -f NOCHECK user
pwdadm -q user

No comments:

Post a Comment