From da745d8a18ffefeb17ca65303625a6986b5a4dd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Mr=C3=A1z?= Date: Wed, 16 Sep 2009 09:31:40 +0000 Subject: [PATCH] - improve the PAM configuration, use password-auth common stack --- at-3.1.10-pam.patch | 17 ++++++----------- at.spec | 5 ++++- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/at-3.1.10-pam.patch b/at-3.1.10-pam.patch index e33be31..d5e56b1 100644 --- a/at-3.1.10-pam.patch +++ b/at-3.1.10-pam.patch @@ -1,19 +1,14 @@ --- at-3.1.10/pam_atd.pam 2007-07-03 13:29:24.000000000 +0200 +++ at-3.1.10/pam_atd 2007-07-03 13:29:24.000000000 +0200 -@@ -0,0 +1,13 @@ +@@ -0,0 +1,8 @@ +# The PAM configuration file for the at daemon +# +# -+auth sufficient pam_rootok.so -+auth required pam_env.so -+auth include system-auth -+account include system-auth -+session required pam_loginuid.so -+session include system-auth -+# Sets up user limits, please uncomment and read /etc/security/limits.conf -+# to enable this functionality. -+# session required pam_limits.so -+# ++# PAM authentication not called, no auth modules needed ++account required pam_access.so ++account include password-auth ++session required pam_loginuid.so ++session include password-auth diff -up at-3.1.10/atd.c.pam at-3.1.10/atd.c --- at-3.1.10/atd.c.pam 2008-07-18 15:47:52.000000000 +0200 +++ at-3.1.10/atd.c 2008-07-18 16:02:32.000000000 +0200 diff --git a/at.spec b/at.spec index b30af9b..30a0fba 100644 --- a/at.spec +++ b/at.spec @@ -6,7 +6,7 @@ Summary: Job spooling tools Name: at Version: 3.1.10 -Release: 36%{?dist} +Release: 37%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://ftp.debian.org/debian/pool/main/a/at @@ -196,6 +196,9 @@ fi %attr(0755,root,root) %{_libdir}/pm-utils/sleep.d/56atd %changelog +* Wed Sep 16 2009 Tomas Mraz 3.1.10-37 +- improve the PAM configuration, use password-auth common stack + * Tue Aug 18 2009 Adam Jackson 3.1.10-36 - Remove Requires: pm-utils-filesystem, dead package