Skip to content
Tech 1 min read

How to change a password on AIX as an admin without following the password policy

I used this on a project where the systems were protected by a non local policy I had no access to. Your best friend is the pwdadm command

As root execute the following:

pwdadm -f NOCHECK 'youruser'

This will allow you to change the password in the next step without policy validation

pwdadm 'youruser

Type the new password twice

pwdadm -f ADMCHG 'youruser'

This will remove the change password on next logon checkbox