]> git.ipfire.org Git - thirdparty/systemd.git/commit
New PAM module: pam_systemd_loadkey 29776/head
authorJin Liu <m.liu.jin@gmail.com>
Tue, 31 Oct 2023 04:48:24 +0000 (12:48 +0800)
committerJin Liu <m.liu.jin@gmail.com>
Tue, 31 Oct 2023 10:20:23 +0000 (18:20 +0800)
commita28b7310eec0ffd0d4ae2c375b759b26745b3b7f
tree20a13acd72a23677f8e9899150eed5a79a1440e1
parent33b0e0c09a438fd565b6c4d059bd14cc9651c40b
New PAM module: pam_systemd_loadkey

This module reads password from kernel keyring and sets it as PAM authtok.
It's inspired by gdm's pam_gdm, which reads the LUKS password stored by
systemd-cryptsetup, so Gnome Keyring can be automatically unlocked if set
to the same password (when autologin is enabled so the user doesn't enter
a password in gdm).
man/pam_systemd_loadkey.xml [new file with mode: 0644]
man/rules/meson.build
src/login/meson.build
src/login/pam_systemd_loadkey.c [new file with mode: 0644]
src/login/pam_systemd_loadkey.sym [new file with mode: 0644]