[packages/systemd] - adjust systemd-user pam config for PLD
baggins
baggins at pld-linux.org
Sat Feb 25 11:24:34 CET 2017
commit 9ccb342effd67c315a54a9b605129a63c4fbee48
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Feb 25 11:24:05 2017 +0100
- adjust systemd-user pam config for PLD
pld-pam-systemd-user.patch | 19 +++++++++++++++++++
systemd.spec | 2 ++
2 files changed, 21 insertions(+)
---
diff --git a/systemd.spec b/systemd.spec
index 12af890..3438896 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -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
diff --git a/pld-pam-systemd-user.patch b/pld-pam-systemd-user.patch
new file mode 100644
index 0000000..3355c9e
--- /dev/null
+++ b/pld-pam-systemd-user.patch
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/9ccb342effd67c315a54a9b605129a63c4fbee48
More information about the pld-cvs-commit
mailing list