summaryrefslogtreecommitdiff
path: root/modules/pam_tally
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 /modules/pam_tally
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>.
Diffstat (limited to 'modules/pam_tally')
-rw-r--r--modules/pam_tally/pam_tally.c2
1 files changed, 1 insertions, 1 deletions
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
/*---------------------------------------------------------------------*/