]> git.pld-linux.org Git - packages/systemd.git/commitdiff
- adjust systemd-user pam config for PLD
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 25 Feb 2017 10:24:05 +0000 (11:24 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 25 Feb 2017 10:24:05 +0000 (11:24 +0100)
pld-pam-systemd-user.patch [new file with mode: 0644]
systemd.spec

diff --git a/pld-pam-systemd-user.patch b/pld-pam-systemd-user.patch
new file mode 100644 (file)
index 0000000..3355c9e
--- /dev/null
@@ -0,0 +1,19 @@
+--- systemd-232/src/login/systemd-user.m4.orig 2016-11-03 18:16:42.000000000 +0100
++++ systemd-232/src/login/systemd-user.m4      2017-02-25 11:22:01.379262223 +0100
+@@ -2,11 +2,11 @@
+ #
+ # Used by systemd --user instances.
+-account required pam_unix.so
++account               include         system-auth
+ m4_ifdef(`HAVE_SELINUX',
+-session  required pam_selinux.so close
+-session  required pam_selinux.so nottys open
++session               required        pam_selinux.so close
++session               required        pam_selinux.so nottys open
+ )m4_dnl
+-session  required pam_loginuid.so
+-session optional pam_systemd.so
++session               required        pam_loginuid.so
++session               include         system-auth
index 12af890e1a95ef21c0c85e8cae809588bcc0d8e5..34388964ae9d0b0519b09126c2d138c82c8d7487 100644 (file)
@@ -75,6 +75,7 @@ Patch10:      pld-boot_efi_mount.patch
 Patch11:       optional-tmp-on-tmpfs.patch
 Patch12:       uids_gids.patch
 Patch13:       sysctl.patch
+Patch14:       pld-pam-systemd-user.patch
 URL:           http://www.freedesktop.org/wiki/Software/systemd
 BuildRequires: acl-devel
 %{?with_audit:BuildRequires:   audit-libs-devel}
@@ -620,6 +621,7 @@ Uzupełnianie parametrów w zsh dla poleceń udev.
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
+%patch14 -p1
 
 cp -p %{SOURCE2} src/systemd_booted.c
 
This page took 0.040835 seconds and 4 git commands to generate.