- improve the PAM configuration, use password-auth common stack

This commit is contained in:
Tomáš Mráz 2009-09-16 09:31:40 +00:00
parent 454b05b6c2
commit da745d8a18
2 changed files with 10 additions and 12 deletions

View File

@ -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

View File

@ -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 <tmraz@redhat.com> 3.1.10-37
- improve the PAM configuration, use password-auth common stack
* Tue Aug 18 2009 Adam Jackson <ajax@redhat.com> 3.1.10-36
- Remove Requires: pm-utils-filesystem, dead package