| 1 |
Enable SSSD for system authentication (also for local users only) |
| 2 |
================================================================= |
| 3 |
|
| 4 |
Selecting this profile will enable SSSD as the source of identity |
| 5 |
and authentication providers. |
| 6 |
|
| 7 |
SSSD provides a set of daemons to manage access to remote directories and |
| 8 |
authentication mechanisms such as LDAP, Kerberos, FreeIPA or AD. It provides |
| 9 |
an NSS and PAM interface toward the system and a pluggable backend system |
| 10 |
to connect to multiple different account sources. |
| 11 |
|
| 12 |
More information about SSSD can be found on its project page: |
| 13 |
https://sssd.io |
| 14 |
|
| 15 |
However, if you do not want to keep SSSD running on your machine, you can |
| 16 |
keep this profile selected and just disable SSSD service. The resulting |
| 17 |
configuration will still work correctly even with SSSD disabled and local users |
| 18 |
and groups will be read from local files directly. |
| 19 |
|
| 20 |
SSSD CONFIGURATION |
| 21 |
------------------ |
| 22 |
|
| 23 |
Authselect does not touch SSSD's configuration. Please, read SSSD's |
| 24 |
documentation to see how to configure it manually. Only local users |
| 25 |
will be available on the system if there is no existing SSSD configuration. |
| 26 |
|
| 27 |
AVAILABLE OPTIONAL FEATURES |
| 28 |
--------------------------- |
| 29 |
|
| 30 |
with-faillock:: |
| 31 |
Enable account locking in case of too many consecutive |
| 32 |
authentication failures. |
| 33 |
|
| 34 |
with-mkhomedir:: |
| 35 |
Enable automatic creation of home directories for users on their |
| 36 |
first login. |
| 37 |
|
| 38 |
with-ecryptfs:: |
| 39 |
Enable automatic per-user ecryptfs. |
| 40 |
|
| 41 |
with-smartcard:: |
| 42 |
Enable authentication with smartcards through SSSD. Please note that |
| 43 |
smartcard support must be also explicitly enabled within |
| 44 |
SSSD's configuration. |
| 45 |
|
| 46 |
with-smartcard-lock-on-removal:: |
| 47 |
Lock screen when a smartcard is removed. |
| 48 |
|
| 49 |
with-smartcard-required:: |
| 50 |
Smartcard authentication is required. No other means of authentication |
| 51 |
(including password) will be enabled. |
| 52 |
|
| 53 |
with-fingerprint:: |
| 54 |
Enable authentication with fingerprint reader through *pam_fprintd*. |
| 55 |
|
| 56 |
with-pam-gnome-keyring:: |
| 57 |
Enable pam-gnome-keyring support. |
| 58 |
|
| 59 |
with-pam-u2f:: |
| 60 |
Enable authentication via u2f dongle through *pam_u2f*. |
| 61 |
|
| 62 |
with-pam-u2f-2fa:: |
| 63 |
Enable 2nd factor authentication via u2f dongle through *pam_u2f*. |
| 64 |
|
| 65 |
without-pam-u2f-nouserok:: |
| 66 |
Module argument nouserok is omitted if also with-pam-u2f-2fa is used. |
| 67 |
*WARNING*: Omitting nouserok argument means that users without pam-u2f |
| 68 |
authentication configured will not be able to log in *INCLUDING* root. |
| 69 |
Make sure you are able to log in before losing root privileges. |
| 70 |
|
| 71 |
with-silent-lastlog:: |
| 72 |
Do not produce pam_lastlog message during login. |
| 73 |
|
| 74 |
without-lastlog-showfailed:: |
| 75 |
Do not print number of failed login attempts during login. |
| 76 |
|
| 77 |
with-sudo:: |
| 78 |
Allow sudo to use SSSD as a source for sudo rules in addition of /etc/sudoers. |
| 79 |
|
| 80 |
with-pamaccess:: |
| 81 |
Check access.conf during account authorization. |
| 82 |
|
| 83 |
with-pwhistory:: |
| 84 |
Enable pam_pwhistory module for local users. |
| 85 |
|
| 86 |
with-altfiles:: |
| 87 |
Use nss_altfiles for passwd and group nsswitch databases. |
| 88 |
|
| 89 |
with-group-merging:: |
| 90 |
Enable merging of group records from multiple NSS sources using |
| 91 |
[SUCCESS=merge]. Required for services like systemd-homed that |
| 92 |
advertise users as part of system groups. |
| 93 |
|
| 94 |
with-mdns4:: |
| 95 |
Enable multicast DNS over IPv4. |
| 96 |
|
| 97 |
with-mdns6:: |
| 98 |
Enable multicast DNS over IPv6. |
| 99 |
|
| 100 |
with-files-access-provider:: If set, account management for local users is |
| 101 |
handled also by pam_sss. This can be used to support SSSD's proxy domain |
| 102 |
that is configured to serve users from local files but provide |
| 103 |
authentication and access management (.k5login file) via Kerberos. |
| 104 |
|
| 105 |
*WARNING:* SSSD access check will become mandatory for local users and |
| 106 |
if SSSD is stopped then local users will not be able to log in. Only |
| 107 |
system accounts (as defined by pam_usertype, including root) will be |
| 108 |
able to log in. |
| 109 |
|
| 110 |
with-gssapi:: |
| 111 |
If set, pam_sss_gss module is enabled to perform user authentication over |
| 112 |
GSSAPI. |
| 113 |
|
| 114 |
with-subid:: |
| 115 |
Enable SSSD as a source of subid database in /etc/nsswitch.conf. |
| 116 |
|
| 117 |
with-systemd-homed:: |
| 118 |
If set, pam_systemd_homed is enabled for all pam operations. |
| 119 |
|
| 120 |
without-nullok:: |
| 121 |
Do not add nullok parameter to pam_unix. |
| 122 |
|
| 123 |
with-libvirt:: |
| 124 |
Enable connecting to libvirt VMs using the hostname configured in the |
| 125 |
guest OS or, as a fallback, their name. |
| 126 |
|
| 127 |
with-tlog:: |
| 128 |
Enable support for tlog session recordings in cooperation with SSSD. |
| 129 |
|
| 130 |
with-switchable-auth:: |
| 131 |
Generate switchable-auth PAM stack that can be used by login applications |
| 132 |
to select the authentication method that shall be used to authenticate the |
| 133 |
user. |
| 134 |
|
| 135 |
with-gpupdate:: |
| 136 |
Enable automatic application of Samba Group Policy Objects (GPOs) on user |
| 137 |
login through oddjob-gpupdate. This allows SSSD-based systems to apply |
| 138 |
GPOs (sudo rules, banners, files, browser policies) similar to winbind. |
| 139 |
|
| 140 |
EXAMPLES |
| 141 |
-------- |
| 142 |
|
| 143 |
* Enable SSSD with sudo and smartcard support |
| 144 |
|
| 145 |
authselect select sssd with-sudo with-smartcard |
| 146 |
|
| 147 |
* Enable SSSD with sudo support and create home directories for users on their |
| 148 |
first login |
| 149 |
|
| 150 |
authselect select sssd with-mkhomedir with-sudo |
| 151 |
|
| 152 |
SEE ALSO |
| 153 |
-------- |
| 154 |
* man sssd.conf(5) |