]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.exec.xml
core: imply SetLoginEnvironment= if PAMName= is set
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Dec 2023 18:08:05 +0000 (19:08 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Dec 2023 09:14:21 +0000 (10:14 +0100)
commitd1a5be82efd6b785573a5913d0adc776713d9258
tree10d4326eac80b176bfa78f20c0a81acf4217409d
parentb993e7e72e2c2bd1e372afd04bcb61a9cd6b59ac
core: imply SetLoginEnvironment= if PAMName= is set

This geneally makes sense as setting up a PAM session pretty much
defines what a login session is.

In context of #30547 this has the benefit that we can take benefit of
the SetLoginEnvironment= effect without having to set it explicitly,
thus retaining some compat of the uid0 client towards older systemd
service managers.
man/systemd.exec.xml
src/core/exec-invoke.c
src/core/execute.c
src/core/execute.h