Standards, Environments, and Macros pam_unix_account(5)
NAME
pam_unix_account - PAM account management module for UNIX
SYNOPSIS
pam_unix_account.so.1
DESCRIPTION
pam_unix_account module implements pam_sm_acct_mgmt(), which
provides functionality to the PAM account management stack. The module provides functions to validate that the user'saccount is not locked or expired and that the user's pass-
word does not need to be changed. The module retrieves account information from the configured databases in nsswitch.conf(4). The following options can be passed to the module: debug syslog(3C) debugging information at theLOG_DEBUG level
nowarn Turn off warning messagesserver_policy If the account authority for the user, as
specified by PAM_USER, is a server, do not
apply the Unix policy from the passwd entry in the name service switch.ERRORS
The following values are returned:PAM_UNIX_ACCOUNT User account has expired
PAM_AUTHTOK_EXPIRED Password expired and no longer
usablePAM_BUF_ERR Memory buffer error
PAM_IGNORE Ignore module, not participating in
resultPAM_NEW_AUTHTOK_REQD Obtain new authentication token from
the userSunOS 5.11 Last change: 14 Feb 2005 1
Standards, Environments, and Macros pam_unix_account(5)
PAM_PERM_DENIED The account is locked or has been
inactive for too longPAM_SERVICE_ERR Error in underlying service module
PAM_SUCCESS The account is valid for use at this
timePAM_USER_UNKNOWN No account is present for the user
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT Level | MT-Safe with exceptions |
|_____________________________|_____________________________|
SEE ALSO
pam(3PAM), pam_authenticate(3PAM), syslog(3C), libpam(3LIB),
pam.conf(4), nsswitch.conf(4), attributes(5) NOTESThe interfaces in libpam(3LIB) are MT-Safe only if each
thread within the multi-threaded application uses its own
PAM handle. Attempts to validate locked accounts are logged viasyslog(3C) to the LOG_AUTH facility with a LOG_NOTICE sever-
ity.SunOS 5.11 Last change: 14 Feb 2005 2