Any pam
experts here? I’ve pooched my settings, and I’m not sure how to get them back to a sane state (although I haven’t experimented much because I’m a little paranoid about getting locked out).
I’m using a Framework 16 laptop with KDE Plasma. The goal:
- Fingerprint sensor or password for authenticating when the “enter your password” dialog pops up (unlocking 1Password for example, or elevating KDE like with the “Boot Splash Screen” settings panel)
- Fingerprint or password for unlocking the screen
- Password for unlocking after system sleep
- Password for logging in to the console and SDDM
- Password for
sudo
Current situation (I’ve disabled the fingerprint sensor until I get this resolved):
- password only for logging in (console and SDDM), authenticating/elevating/
sudo
- lock screen asks for no authentication
- no authentication after system sleep
Where should I look for clues? Does pam
have a way to dump the active config so I can see what’s actually set at runtime?
Alternatively, is there I way I can get (or view online) the original /etc/pam.d
files back? I believe everything is stock except for: kde-fingerprint
, system-login
The kde-fingerprint
config should be ignored right now because fprintd
is disabled.
For your amusement, my current system-login
:
#%PAM-1.0
auth required pam_shells.so
auth requisite pam_nologin.so
auth include system-auth
account required pam_access.so
account required pam_nologin.so
account include system-auth
password include system-auth
session optional pam_loginuid.so
session optional pam_keyinit.so force revoke
session include system-auth
session optional pam_motd.so
session optional pam_mail.so dir=/var/spool/mail standard quiet
session optional pam_umask.so
-session optional pam_systemd.so
session required pam_env.so