pam_sss - PAM module for SSSD
[ quiet] [forward_pass] [use_first_pass]
[use_authtok] [ retry=N] [ignore_unknown_user]
[ignore_authinfo_unavail] [ domains=X]
[allow_missing_name] [ prompt_always]
is the PAM interface to the System Security Services daemon
(SSSD). Errors and results are logged through syslog(3)
Suppress log messages for unknown users.
If forward_pass is set the entered
password is put on the stack for other PAM modules to use.
The argument use_first_pass forces the module
to use a previous stacked modules password and will never prompt the user - if
no password is available or the password is not appropriate, the user will be
When password changing enforce the module to
set the new password to the one provided by a previously stacked password
If specified the user is asked another N times
for a password if authentication fails. Default is 0.
Please note that this option might not work as expected if the application
calling PAM handles the user dialog on its own. A typical example is
If this option is specified and the user does
not exist, the PAM module will return PAM_IGNORE. This causes the PAM
framework to ignore this module.
Specifies that the PAM module should return
PAM_IGNORE if it cannot contact the SSSD daemon. This causes the PAM framework
to ignore this module.
Allows the administrator to restrict the
domains a particular PAM service is allowed to authenticate against. The
format is a comma-separated list of SSSD domain names, as specified in the
NOTE: Must be used in conjunction with the “pam_trusted_users” and
“pam_public_domains” options. Please see the sssd.conf
manual page for more information on these two PAM responder options.
The main purpose of this option is to let SSSD
determine the user name based on additional information, e.g. the certificate
from a Smartcard.
The current use case are login managers which can monitor a Smartcard reader for
card events. In case a Smartcard is inserted the login manager will call a PAM
stack which includes a line like
auth sufficient pam_sss.so allow_missing_name
In this case SSSD will try to determine the user name based on the content of
the Smartcard, returns it to pam_sss which will finally put it on the PAM
Always prompt the user for credentials. With
this option credentials requested by other PAM modules, typically a password,
will be ignored and pam_sss will prompt for credentials again. Based on the
pre-auth reply by SSSD pam_sss might prompt for a password, a Smartcard PIN or
All module types ( account
) are provided.
If a password reset by root fails, because the corresponding SSSD provider does
not support password resets, an individual message can be displayed. This
message can e.g. contain instructions about how to reset a password.
The message is read from the file pam_sss_pw_reset_message.LOC where LOC stands
for a locale string returned by setlocale
(3). If there is no matching
file the content of pam_sss_pw_reset_message.txt is displayed. Root must be
the owner of the files and only root may have read and write permissions while
all other users must have only read permissions.
These files are searched in the directory /etc/sssd/customize/DOMAIN_NAME/. If
no matching file is present a generic message is displayed.
The SSSD upstream - https://pagure.io/SSSD/sssd/