diff --git a/coreutils.changes b/coreutils.changes index 2fa1631..08789b4 100644 --- a/coreutils.changes +++ b/coreutils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jun 4 08:31:39 UTC 2013 - werner@suse.de + +- Make pam configuration for command su using the systemd login + manager for ordinary users as this allows to use all services + provided by systemd login manager + ------------------------------------------------------------------- Mon May 20 15:38:30 UTC 2013 - mail@bernhard-voelker.de diff --git a/su.pamd b/su.pamd index 88ddbaf..6ca92e4 100644 --- a/su.pamd +++ b/su.pamd @@ -1,8 +1,11 @@ #%PAM-1.0 auth sufficient pam_rootok.so auth include common-auth -account sufficient pam_rootok.so +account sufficient pam_rootok.so account include common-account password include common-password session include common-session session optional pam_xauth.so +session [default=1 success=ignore] pam_succeed_if.so quiet uid > 999 +session required pam_loginuid.so +session required pam_systemd.so kill-exclude-users=0