HP-UX Reference (11i v2 07/12) - 3 Library Functions N-Z (vol 7)

p
pam_sm_chauthtok(3) pam_sm_chauthtok(3)
If a user’s password has aged or expired, a PAM account module could save this information as state in the
authentication handle, pamh, using
pam_set_data()
. The related password management module could
retrieve this information using
pam_get_data()
to determine whether or not it should prompt the user
to update the password for this particular module.
RETURN VALUE
Upon successful completion,
PAM_SUCCESS must be returned. The following values may also be
returned:
PAM_PERM_DENIED
No permission.
PAM_AUTHTOK_ERR
Authentication token manipulation error.
PAM_AUTHTOK_RECOVERY_ERR
Old authentication token cannot be recovered.
PAM_AUTHTOK_LOCK_BUSY
Authentication token lock busy.
PAM_AUTHTOK_DISABLE_AGING
Authentication token aging disabled.
PAM_USER_UNKNOWN
User unknown to password service.
PAM_TRY_AGAIN Preliminary check by password service failed.
SEE ALSO
pam(3), pam_chauthtok(3), pam.conf(4).
134 Hewlett-Packard Company 2 HP-UX 11i Version 2: December 2007 Update