diff options
author | vorlon <Unknown> | 2007-10-20 07:14:29 +0000 |
---|---|---|
committer | vorlon <Unknown> | 2007-10-20 07:14:29 +0000 |
commit | b5216359a251a625b64f97110e6452c04deef2a8 (patch) | |
tree | 55568f35df773d5770d011223f2f0d9af12d77d6 /patches-applied/pam_tally_audit.patch | |
parent | 19f18696c3c96c4f623e28d6ac6b2cf812ee6c13 (diff) | |
download | pam-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.
Diffstat (limited to 'patches-applied/pam_tally_audit.patch')
-rw-r--r-- | patches-applied/pam_tally_audit.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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 + + + /*---------------------------------------------------------------------*/ |