systemd --user: call pam_loginuid when creating user@.service (#3120)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 26 Apr 2016 09:19:10 +0000 (05:19 -0400)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Apr 2016 09:19:10 +0000 (11:19 +0200)
commit1000522a60ceade446773c67031b47a566d4a70d
tree0852858294ad53f8c756631e790e18e95cebdbbf
parent47005cf1cf3a3602b6793973959a0e86fd295eab
systemd --user: call pam_loginuid when creating user@.service (#3120)

This way the user service will have a loginuid, and it will be inherited by
child services. This shouldn't change anything as far as systemd itself is
concerned, but is nice for various services spawned from by systemd --user
that expect a loginuid.

pam_loginuid(8) says that it should be enabled for "..., crond and atd".
user@.service should behave similarly to those two as far as audit is
concerned.

https://bugzilla.redhat.com/show_bug.cgi?id=1328947#c28
src/login/systemd-user.m4