On PAM-enabled systems you can use the system passwd command to change your Active Directory password.
- Type the following command:
# passwd
Note: On some systems such as HPUX and Oracle Solaris, the /bin/passwd command may not use PAM. In this case you may see output such as:
passwd: Changing password for bsmith Supported configuration for passwd management are as follows: passwd: files passwd: files ldap passwd: files nis passwd: files nisplus passwd: compat passwd: compat AND passwd_compat: ldap OR passwd_compat: nisplus Please check your /etc/nsswitch.conf file Permission denied
If you see this output, you must use the vastool passwd command to change your Active Directory password.
- To change the password of a local user in the /etc/passwd file, run the following command:
passwd -r files
This instructs the system to change the local password directly rather than using PAM to change the password.