PAM_UNIX(8) | System Manager's Manual | PAM_UNIX(8) |
pam_unix
— UNIX
PAM module
[service-name] module-type control-flag pam_unix [options]
The UNIX authentication service module for
PAM provides functionality for two PAM categories: authentication and
account management. In terms of the module-type
parameter, they are the “auth
” and
“account
” features. It also provides a
null function for session management.
The UNIX authentication component provides
functions to verify the identity of a user
(pam_sm_authenticate
()),
which obtains the relevant
passwd(5) entry. It prompts
the user for a password and verifies that this is correct with
crypt(3).
The following options may be passed to the authentication module:
debug
LOG_DEBUG
level.use_first_pass
try_first_pass
use_first_pass
option, except that if the previously obtained password fails, the user is
prompted for another password.auth_as_self
nullok
The UNIX account management component
provides a function to perform account management,
pam_sm_acct_mgmt
().
The function verifies that the authenticated user is allowed to login to the
local user account by checking the password expiry date.
The following options may be passed to the management module:
The UNIX password management component
provides a function to perform account management,
pam_sm_chauthtok
().
The function changes the user's password.
The following options may be passed to the password module:
debug
LOG_DEBUG
level.no_warn
passwd_db
=namepasswd(1), getlogin(2), crypt(3), getpwent(3), syslog(3), nsswitch.conf(5), passwd(5), nis(8), pam(8)
February 26, 2005 | NetBSD 10.99 |