]> granicus.if.org Git - linux-pam/commitdiff
Relevant BUGIDs: Debian bug #446327
authorSteve Langasek <vorlon@debian.org>
Thu, 25 Oct 2007 21:32:48 +0000 (21:32 +0000)
committerSteve Langasek <vorlon@debian.org>
Thu, 25 Oct 2007 21:32:48 +0000 (21:32 +0000)
Purpose of commit: bugfix

Commit summary:
---------------
2007-10-25  Steve Langasek  <vorlon@debian.org>

* modules/pam_tally/pam_tally.c: fix the definition of OPT_AUDIT
to be octal instead of decimal, so that it works properly in a
bit field instead of forcing the "even_deny_root_account" and
"no_reset" options to on.
Patch from Corey Wright <undefined@pobox.com>.

ChangeLog
modules/pam_tally/pam_tally.c

index 93ccb0805a88bb6d23e5932ac2c765e241677eb5..782fd160e17d685cfd74c38f7da705f56e697495 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-10-25  Steve Langasek  <vorlon@debian.org>
+
+       * modules/pam_tally/pam_tally.c: fix the definition of OPT_AUDIT
+       to be octal instead of decimal, so that it works properly in a
+       bit field instead of forcing the "even_deny_root_account" and
+       "no_reset" options to on.
+       Patch from Corey Wright <undefined@pobox.com>.
+
 2007-10-19  Tomas Mraz  <t8m@centrum.cz>
 
        * xtests/tst-pam_access1.c: Use different name for user and group.
index 66fc5f3521bf5c8ccca38a40714667b1bd2ee87c..fc818ffef3025797aae2cf1c4128407de01a4fb5 100644 (file)
@@ -94,7 +94,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
 
 
 /*---------------------------------------------------------------------*/