diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-02-02 23:30:24 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-02-02 23:30:24 +1100 |
commit | 2fba993080eba14e339d6a6666ee79580ee20f97 (patch) | |
tree | 0b7bc9ce53758047f3a844b0f9d5679ace5e94eb /configure.ac | |
parent | 9dc6c7dbec0716157e561036c480bca1bc3c7e47 (diff) |
- (dtucker) [auth.c canohost.c canohost.h configure.ac defines.h loginrec.c]
Bug #974: Teach sshd to write failed login records to btmp for failed auth
attempts (currently only for password, kbdint and C/R, only on Linux and
HP-UX), based on code from login.c from util-linux. With ashok_kovai at
hotmail.com, ok djm@
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 94d6b1e78..86b26daf9 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.236 2005/02/01 23:44:00 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.237 2005/02/02 12:30:25 dtucker Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -219,6 +219,7 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | |||
219 | AC_DEFINE(DISABLE_UTMP) | 219 | AC_DEFINE(DISABLE_UTMP) |
220 | AC_DEFINE(LOCKED_PASSWD_STRING, "*") | 220 | AC_DEFINE(LOCKED_PASSWD_STRING, "*") |
221 | AC_DEFINE(SPT_TYPE,SPT_PSTAT) | 221 | AC_DEFINE(SPT_TYPE,SPT_PSTAT) |
222 | AC_DEFINE(USE_BTMP, 1, [Use btmp to log bad logins]) | ||
222 | check_for_hpux_broken_getaddrinfo=1 | 223 | check_for_hpux_broken_getaddrinfo=1 |
223 | check_for_conflicting_getspnam=1 | 224 | check_for_conflicting_getspnam=1 |
224 | LIBS="$LIBS -lsec" | 225 | LIBS="$LIBS -lsec" |
@@ -256,6 +257,8 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | |||
256 | AC_DEFINE(LOCKED_PASSWD_PREFIX, "!") | 257 | AC_DEFINE(LOCKED_PASSWD_PREFIX, "!") |
257 | AC_DEFINE(SPT_TYPE,SPT_REUSEARGV) | 258 | AC_DEFINE(SPT_TYPE,SPT_REUSEARGV) |
258 | AC_DEFINE(LINK_OPNOTSUPP_ERRNO, EPERM) | 259 | AC_DEFINE(LINK_OPNOTSUPP_ERRNO, EPERM) |
260 | AC_DEFINE(_PATH_BTMP, "/var/log/btmp", [log for bad login attempts]) | ||
261 | AC_DEFINE(USE_BTMP, 1, [Use btmp to log bad logins]) | ||
259 | inet6_default_4in6=yes | 262 | inet6_default_4in6=yes |
260 | case `uname -r` in | 263 | case `uname -r` in |
261 | 1.*|2.0.*) | 264 | 1.*|2.0.*) |