|
|
HP-UX Reference > Ppam_acct_mgmt(3)HP-UX 11i Version 2: December 2007 Update |
|
NAMEpam_acct_mgmt() — perform PAM account validation procedures SYNOPSIScc [ flag ... ] file ... -lpam [ library ... ] #include <security/pam_appl.h> int pam_acct_mgmt(pam_handle_t *pamh, int flags); DESCRIPTIONThe function pam_acct_mgmt() is called to determine if the current user's account is valid. This includes checking for password expiration, account expiration, account locks and access hour restrictions. This function is typically called after the user has been authenticated with pam_authenticate(). See pam_authenticate(3). The pamh argument is an authentication handle obtained by a prior call to pam_start(). The following flags may be set in the flags field:
RETURN VALUEUpon successful completion, PAM_SUCCESS is returned. In addition to the error return values described in pam(3), the following values may be returned:
|
|