From 882ad81ab38cf49f688e62af8e290a66ce413456 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Wed, 9 May 2012 11:12:48 +0200 Subject: [PATCH] add pam_systemd to session modules --- fingerprint-auth.pamd | 1 + pam.spec | 5 ++++- password-auth.pamd | 1 + smartcard-auth.pamd | 1 + system-auth.pamd | 1 + 5 files changed, 8 insertions(+), 1 deletion(-) diff --git a/fingerprint-auth.pamd b/fingerprint-auth.pamd index fdcbcc0..604b95f 100644 --- a/fingerprint-auth.pamd +++ b/fingerprint-auth.pamd @@ -14,5 +14,6 @@ password required pam_deny.so session optional pam_keyinit.so revoke session required pam_limits.so +-session optional pam_systemd.so session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid session required pam_unix.so diff --git a/pam.spec b/pam.spec index a90ccc9..3826403 100644 --- a/pam.spec +++ b/pam.spec @@ -3,7 +3,7 @@ Summary: An extensible library which provides authentication for applications Name: pam Version: 1.1.5 -Release: 5%{?dist} +Release: 6%{?dist} # The library is BSD licensed with option to relicense as GPLv2+ # - this option is redundant as the BSD license allows that anyway. # pam_timestamp, pam_loginuid, and pam_console modules are GPLv2+. @@ -370,6 +370,9 @@ fi %doc doc/adg/*.txt doc/adg/html %changelog +* Mon May 9 2012 Tomas Mraz 1.1.5-6 +- add pam_systemd to session modules + * Tue Jan 31 2012 Tomas Mraz 1.1.5-5 - fix pam_namespace leaking the protect mounts to parent namespace (#755216) diff --git a/password-auth.pamd b/password-auth.pamd index d598c67..5e33723 100644 --- a/password-auth.pamd +++ b/password-auth.pamd @@ -13,5 +13,6 @@ password required pam_deny.so session optional pam_keyinit.so revoke session required pam_limits.so +-session optional pam_systemd.so session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid session required pam_unix.so diff --git a/smartcard-auth.pamd b/smartcard-auth.pamd index 07f03f3..e5b57e3 100644 --- a/smartcard-auth.pamd +++ b/smartcard-auth.pamd @@ -14,5 +14,6 @@ password optional pam_pkcs11.so session optional pam_keyinit.so revoke session required pam_limits.so +-session optional pam_systemd.so session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid session required pam_unix.so diff --git a/system-auth.pamd b/system-auth.pamd index d598c67..5e33723 100644 --- a/system-auth.pamd +++ b/system-auth.pamd @@ -13,5 +13,6 @@ password required pam_deny.so session optional pam_keyinit.so revoke session required pam_limits.so +-session optional pam_systemd.so session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid session required pam_unix.so