summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2007-10-25 21:32:48 +0000
committerSteve Langasek <vorlon@debian.org>2007-10-25 21:32:48 +0000
commit675a1e8f0b0227cae757fdfa197fff944730b516 (patch)
tree70caa7f66c7b373bb5efc27c3eb844ce3d7c5bf4
parent695f6e358dd1e8c05e77bd13f93d85e5963c9c3e (diff)
Relevant BUGIDs: Debian bug #446327
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>.
-rw-r--r--ChangeLog8
-rw-r--r--modules/pam_tally/pam_tally.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 93ccb080..782fd160 100644
--- 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.
diff --git a/modules/pam_tally/pam_tally.c b/modules/pam_tally/pam_tally.c
index 66fc5f35..fc818ffe 100644
--- a/modules/pam_tally/pam_tally.c
+++ b/modules/pam_tally/pam_tally.c
@@ -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
/*---------------------------------------------------------------------*/