Presence of comments in pam-configs/ file cause several warnings when invoking command `pam-auth-updates` (use of uninitialized value), and then later the PAM configuration is broken: - SSH login fails immediately (connection closed) - opening a session with `sudo su -` is impossible (authorisation refused) - and maybe more... Without comments in /usr/share/pam-configs/yourdev, everything works as expected, no warnings in `pam-auth-updates`, no authentication problems.
19 lines
436 B
Plaintext
19 lines
436 B
Plaintext
Name: Yourdev authentication (SSSD)
|
|
Default: no
|
|
Priority: 512
|
|
Conflicts: sss
|
|
|
|
Auth-Type: Primary
|
|
Auth:
|
|
[success=end default=ignore] pam_sss.so use_first_pass
|
|
Auth-Initial:
|
|
[success=end default=ignore] pam_sss.so forward_pass
|
|
Account-Type: Additional
|
|
Account:
|
|
sufficient pam_localuser.so
|
|
[default=bad success=ok user_unknown=ignore] pam_sss.so
|
|
Session-Type: Additional
|
|
Session-Interactive-Only: yes
|
|
Session:
|
|
optional pam_sss.so
|