Archive for the ‘AIX’ Category

AIX 5.3 ADMCHG flag conflict

On AIX 5.3 when root changes a users password the ADMCHG flag is set in /etc/security/passwd as it is with previous versions.

When adding a new user, is after setting the initial password from root, remove the ADMCHG flag for that user from /etc/security/passwd.

This allows the user to keep the initial password until he or she feels comfortable with changing it. The slight security risk is worth the

reduced hassle when a new user is not comfortable with logging in, and then picking a new password right away.


Read Full Post »

Reset user ID locked in AIX

# chsec -f /etc/security/lastlog -a “unsuccessful_login_count=0” -s username

# chuser “account_locked=false” username

# passwd username


Read Full Post »