aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvorlon <Unknown>2007-10-20 07:14:29 +0000
committervorlon <Unknown>2007-10-20 07:14:29 +0000
commitb5216359a251a625b64f97110e6452c04deef2a8 (patch)
tree55568f35df773d5770d011223f2f0d9af12d77d6
parent19f18696c3c96c4f623e28d6ac6b2cf812ee6c13 (diff)
downloadpam-b5216359a251a625b64f97110e6452c04deef2a8.tar.gz
pam-b5216359a251a625b64f97110e6452c04deef2a8.tar.bz2
pam-b5216359a251a625b64f97110e6452c04deef2a8.zip
* Make sure the "audit" option is specified in octal instead of in decimal,
so that it doesn't randomly set other options. Thanks to Corey Wright <undefined@pobox.com> for the catch. Closes: #446327.
-rw-r--r--changelog5
-rw-r--r--patches-applied/pam_tally_audit.patch11
-rw-r--r--patches-applied/series1
3 files changed, 16 insertions, 1 deletions
diff --git a/changelog b/changelog
index b1b0a78b..3b7913c0 100644
--- a/changelog
+++ b/changelog
@@ -12,8 +12,11 @@ pam (0.99.7.1-6) UNRELEASED; urgency=low
(closes: #445022)
- French, thanks to Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
(closes: #445869)
+ * Make sure the "audit" option is specified in octal instead of in decimal,
+ so that it doesn't randomly set other options. Thanks to Corey Wright
+ <undefined@pobox.com> for the catch. Closes: #446327.
- -- Steve Langasek <vorlon@debian.org> Mon, 08 Oct 2007 14:01:40 -0700
+ -- Steve Langasek <vorlon@debian.org> Fri, 19 Oct 2007 23:47:16 -0700
pam (0.99.7.1-5) unstable; urgency=low
diff --git a/patches-applied/pam_tally_audit.patch b/patches-applied/pam_tally_audit.patch
new file mode 100644
index 00000000..05612d9f
--- /dev/null
+++ b/patches-applied/pam_tally_audit.patch
@@ -0,0 +1,11 @@
+--- Linux-PAM/modules/pam_tally/pam_tally.c~ 2007-10-12 01:49:15.000000000 +0000
++++ Linux-PAM/modules/pam_tally/pam_tally.c 2007-10-12 03:26:04.000000000 +0000
+@@ -95,7 +95,7 @@ struct tally_options {
+ #define OPT_PER_USER 010
+ #define OPT_NO_LOCK_TIME 020
+ #define OPT_NO_RESET 040
+-#define OPT_AUDIT 100
++#define OPT_AUDIT 0100
+
+
+ /*---------------------------------------------------------------------*/
diff --git a/patches-applied/series b/patches-applied/series
index f0c93660..4fd2c35a 100644
--- a/patches-applied/series
+++ b/patches-applied/series
@@ -27,4 +27,5 @@ no_pthread_mutexes
limits_wrong_strncpy
misc_conv_allow_sigint.patch
pam_env_ignore_garbage.patch
+pam_tally_audit.patch -p0
autoconf.patch