]> git.ipfire.org Git - thirdparty/systemd.git/commit
pam_systemd: split out setting of shell env vars from credentials and move it later
authorLennart Poettering <lennart@poettering.net>
Fri, 15 Nov 2024 14:08:15 +0000 (15:08 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 17 Dec 2024 16:52:14 +0000 (17:52 +0100)
commit166a678fea3e2301a9be4ba72c5b7f7183615065
treebdbbef79fa99b523b18b55ce303140c0cb30d9f2
parent5e782e4de3bd1991549c443101cf21bda8b9c692
pam_systemd: split out setting of shell env vars from credentials and move it later

Let's shorten the code of pam_sm_open_session() a bit, and also make
sure the importing of the env vars from the creds also happens if the
session registration with logind is skipped.
src/login/pam_systemd.c