search for: disable_lastlog

Displaying 20 results from an estimated 20 matches for "disable_lastlog".

2000 Jun 12
1
AIX and 2.1.1p1
The new login code works fine with AIX 4.3. Two nits, though. If --disable-lastlog is defined, the code still tries to slog through wtmp to determine the last login time. Is this a bug or a feature? If a feature, change the DISABLE_LASTLOG test below to WITH_AIXAUTHENTICATE. Also, a small typo in configure.in, plus an AIX tweak. --- configure.in.orig Thu Jun 8 21:58:35 2000 +++ configure.in Mon Jun 12 16:27:54 2000 @@ -38,6 +38,8 @@ AC_DEFINE(BROKEN_GETADDRINFO) dnl AIX handles lastlog as part of its login message AC_DEFINE(D...
2000 May 15
1
AIX authenticate patches
...:57 2000 +++ config.h.in Wed May 10 15:26:43 2000 @@ -12,6 +12,9 @@ /* Define if you want to disable PAM support */ #undef DISABLE_PAM +/* Define if you want to enable AIX4's authenticate function */ +#undef WITH_AIXAUTHENTICATE + /* Define if you want to disable lastlog support */ #undef DISABLE_LASTLOG --- configure.in.orig Tue May 9 09:53:53 2000 +++ configure.in Wed May 10 11:10:59 2000 @@ -32,6 +32,7 @@ if test "$LD" != "gcc" -a -z "$blibpath"; then blibpath="/usr/lib:/lib:/usr/local/lib" fi + AC_CHECK_FUNC(authenticate, [AC_DEFINE(WITH_AIXAUTH...
2003 Jun 27
2
[Bug 570] configure --disable-FEATURE fix
http://bugzilla.mindrot.org/show_bug.cgi?id=570 openssh at roumenpetrov.info changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |normal ------- Additional Comments From openssh at roumenpetrov.info 2003-06-27 21:46 ------- When somebody explicitly use
2009 May 03
0
Server option PrintLastLog does not work on AIX
...s always displayed, disregarding the option. When browsing the code, I found out there are several functions in loginrec.c which solely handle the processing of the last login info (login_get_lastlog, getlast_entry). Since AIX does not provide such a function natively, the configure script sets the DISABLE_LASTLOG define. A small code snippet from getlast_entry in loginrec.c shows this #if defined(DISABLE_LASTLOG) /* On some systems we shouldn't even try to obtain last login * time, e.g. AIX */ return (0); On the other hand, when issuing the AIX loginsuccess() call (which writ...
2001 Nov 22
1
[PATCH]: Fix configure.ac to allow linking against PCRE on Cygwin
...c =================================================================== RCS file: /cvs/openssh_cvs/configure.ac,v retrieving revision 1.4 diff -u -p -r1.4 configure.ac --- configure.ac 2001/11/03 19:09:33 1.4 +++ configure.ac 2001/11/22 11:57:34 @@ -65,7 +65,7 @@ case "$host" in AC_DEFINE(DISABLE_LASTLOG) ;; *-*-cygwin*) - LIBS="$LIBS -lregex /usr/lib/textmode.o" + LIBS="$LIBS /usr/lib/textmode.o" AC_DEFINE(HAVE_CYGWIN) AC_DEFINE(USE_PIPES) AC_DEFINE(DISABLE_SHADOW) @@ -367,6 +367,17 @@ if test "x$with_tcp_wrappers" != "xno" ; AC_CHECK_LIB(rpc, inn...
1999 Dec 23
0
Patch to make pre19 work with NetBSD
...ned (HAVE_LASTLOG_H) && !defined(HAVE_LASTLOG) */ --- login.c.orig Thu Dec 23 13:34:04 1999 +++ login.c Thu Dec 23 13:40:37 1999 @@ -53,7 +53,7 @@ get_last_login_time(uid_t uid, const char *logname, char *buf, unsigned int bufsize) { -#if defined(HAVE_LASTLOG_H) && !defined(DISABLE_LASTLOG) +#if defined(HAVE_LASTLOG) && !defined(DISABLE_LASTLOG) struct lastlog ll; char *lastlog; int fd; --- configure.in.orig Thu Dec 23 13:41:02 1999 +++ configure.in Thu Dec 23 13:48:33 1999 @@ -151,6 +151,18 @@ [AC_MSG_RESULT(no)] ) +dnl On NetBSD (at least), lastlog is in utmp.h...
2014 Sep 17
5
[Bug 2278] New: 'configure --disable-lastlog' should mark PrintLastLog as unsupported in servconf.c
...Severity: minor Priority: P5 Component: sshd Assignee: unassigned-bugs at mindrot.org Reporter: brent.paulson at gmail.com Created attachment 2476 --> https://bugzilla.mindrot.org/attachment.cgi?id=2476&action=edit mark PrintLastLog as unsupported if DISABLE_LASTLOG is true It is possible to disable all lastlog references in OpenSSH by using the following configure option: --disable-lastlog disable use of lastlog even if detected This also has the side-effect of removing support for the 'PrintLastLog' sshd_config(8) keyword although it is st...
2007 Jan 17
0
login_get_lastlog - nss enviornment - works in shell env, doesn't work when sshd calls it.
.../** ** getlast_entry: Call low-level functions to retrieve the last login ** time. **/ /* take the uid in li and return the last login time */ int getlast_entry(struct logininfo *li) { #ifdef USE_LASTLOG return(lastlog_get_entry(li)); #else /* !USE_LASTLOG */ #if defined(DISABLE_LASTLOG) /* On some systems we shouldn't even try to obtain last login * time, e.g. AIX */ return (0); # elif defined(USE_WTMP) && \ (defined(HAVE_TIME_IN_UTMP) || defined(HAVE_TV_IN_UTMP)) /* retrieve last login time from utmp */ return (wtmp_get_en...
2006 Feb 02
19
[Bug 1149] Does not build on QNX
http://bugzilla.mindrot.org/show_bug.cgi?id=1149 Summary: Does not build on QNX Product: Portable OpenSSH Version: 4.3p1 Platform: ix86 OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Build system AssignedTo: bitbucket at mindrot.org ReportedBy: kraai at ftbfs.org
2002 Mar 12
2
sys/queue.h
...file: /var/cvs/openssh/configure.ac,v retrieving revision 1.25 diff -u -r1.25 configure.ac --- configure.ac 8 Mar 2002 03:50:58 -0000 1.25 +++ configure.ac 12 Mar 2002 02:11:54 -0000 @@ -63,7 +63,6 @@ AC_DEFINE(BROKEN_GETADDRINFO) dnl AIX handles lastlog as part of its login message AC_DEFINE(DISABLE_LASTLOG) - AC_DEFINE(HAVE_BOGUS_SYS_QUEUE_H) ;; *-*-cygwin*) LIBS="$LIBS /usr/lib/textmode.o" @@ -123,7 +122,6 @@ check_for_libcrypt_later=1 AC_DEFINE(DONT_TRY_OTHER_AF) AC_DEFINE(PAM_TTY_KLUDGE) - AC_DEFINE(HAVE_BOGUS_SYS_QUEUE_H) inet6_default_4in6=yes ;; mips-sony-bsd|mips-sony...
2009 May 03
10
[Bug 1595] New: Server option PrintLastLog does not work on AIX
...s always displayed, disregarding the option. When browsing the code, I found out there are several functions in loginrec.c which solely handle the processing of the last login info (login_get_lastlog, getlast_entry). Since AIX does not provide such a function natively, the configure script sets the DISABLE_LASTLOG define. A small code snippet from getlast_entry in loginrec.c shows this #if defined(DISABLE_LASTLOG) /* On some systems we shouldn't even try to obtain last login * time, e.g. AIX */ return (0); On the other hand, when issuing the AIX loginsuccess() call (which writ...
2001 Jul 18
0
configure: sense of --enable-utmpx test et al. reversed
...ully ignorant of autoconf. suffice it to say, despite the help text arguments, these macro invocations seem suspect: ^dnl allow user to disable some login recording features AC_ARG_ENABLE(lastlog, [ --disable-lastlog disable use of lastlog even if detected [no]], [ AC_DEFINE(DISABLE_LASTLOG) ] ) AC_ARG_ENABLE(utmp, [ --disable-utmp disable use of utmp even if detected [no]], [ AC_DEFINE(DISABLE_UTMP) ] ) AC_ARG_ENABLE(utmpx, [ --disable-utmpx disable use of utmpx even if detected [no]], [ AC_DEFINE(DISABLE_UTMPX) ] ) etc. other than...
2003 Jun 17
2
Can only ssh as root
I have an AIX 4.3.3.10 Box running Openssh 3.4. I am using Putty to get to this Ssh server. All is good when I Ssh in using root. But when I try another user profile I get the below: Jun 16 17:22:21 walker sshd[8812]: fatal: login_get_lastlog: Cannot find account for uid 95 In addition, I am kicked out of this session right now. TIA!
2003 Nov 13
0
[PATCH] Perform do_pam_chauthtok via SSH2 keyboard-interactive.
...================ RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/configure.ac,v retrieving revision 1.173 diff -u -p -r1.173 configure.ac --- configure.ac 15 Oct 2003 06:57:57 -0000 1.173 +++ configure.ac 13 Nov 2003 09:00:50 -0000 @@ -105,6 +105,7 @@ case "$host" in AC_DEFINE(DISABLE_LASTLOG) AC_DEFINE(LOGIN_NEEDS_UTMPX) AC_DEFINE(SPT_TYPE,SPT_REUSEARGV) + AC_DEFINE(DISABLE_KBDINT_CHAUTHTOK) ;; *-*-cygwin*) check_for_libcrypt_later=1
1999 Dec 29
1
Patch to use Dante socks library
...nstead of the NEC libraries), I decided to hack support for them into OpenSSH. Here is the results. Thanks, David $NetBSD$ --- configure.in.orig Wed Dec 29 08:37:01 1999 +++ configure.in Wed Dec 29 08:37:25 1999 @@ -334,6 +341,20 @@ AC_MSG_WARN([*** Disabling lastlog support *** ]) AC_DEFINE(DISABLE_LASTLOG) fi + +dnl Compile with dante SOCKS library +AC_ARG_WITH(dante, + [ --with-dante=DIR Use Dante SOCKS lib (default is system library path)], + [ + AC_DEFINE(HAVE_DANTE) + if test "x$withval" != "xno" ; then + if test -n $withval ; then + LIBS="$LIBS -L$withva...
2003 Oct 21
2
HP-UX 10.20 assistance
To Whomever can assist, I am looking for anyone who has gotten OpenSsh 3.7.1p2 to build under HP-UX 10.20. I am working with the latest gcc (v. 3.3.1), gmake (v. 3.80), and Openssl (0.9.7c) and I still can not get OpenSsh to build properly. It errors out on the build process with a: loginrec.c:1405: dereferencing pointer to incomplete type cing pointer to incomplete type loginrec.c:1514:
2000 Jun 13
2
2.2.1p1 / AIX 4.2.1.0.06 login nits
Hi. New (2.1.1p1) login code is nicer on AIX (4.2.1.0.06). Thanks. A couple of issues, though, which I haven't really dug into yet. I'm wondering if anyone else has seen them? If not, I'll investigate & report. 1. If I set "UseLogin" to "yes", everything seems fine except that the authentication agent forwarding doesn't work. The "SSH"
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...1 #define HAVE_TV_IN_UTMP 1 #define HAVE_TV_IN_UTMPX 1 #define HAVE_ID_IN_UTMP 1 #define HAVE_ID_IN_UTMPX 1 #define HAVE_EXIT_IN_UTMP 1 /* #undef HAVE_TIME_IN_UTMP */ /* #undef HAVE_TIME_IN_UTMPX */ /* #undef DISABLE_LOGIN */ /* #undef DISABLE_PUTUTLINE */ /* #undef DISABLE_PUTUTXLINE */ /* #undef DISABLE_LASTLOG */ /* #undef NO_SSH_LASTLOG */ /* #undef DISABLE_UTMP */ #define DISABLE_UTMPX 1 /* #undef DISABLE_WTMP */ #define DISABLE_WTMPX 1 /* #undef LOGIN_NEEDS_UTMPX */ /* #undef LOGIN_NEEDS_TERM */ /* #undef LOGIN_NO_ENDOPT */ /* #undef CONF_LASTLOG_FILE */ /* #undef CONF_UTMP_FILE */ /* #undef CONF_WTMP...
2000 Jan 19
3
AIX openssh patches
...you want to disable PAM support */ #undef DISABLE_PAM + /* Define if you want to disable AIX4's authenticate function */ + #undef WITH_AIXAUTHENTICATE + + /* Define if you want to use system random */ + #undef USE_SYSRANDOM + /* Define if you want to disable lastlog support */ #undef DISABLE_LASTLOG *************** *** 29,34 **** --- 35,69 ---- /* Define if using the Dante SOCKS library. */ #undef HAVE_DANTE + + /* Define this if compiling with SOCKS (the firewall traversal library). */ + #undef SOCKS + #undef SOCKS4 + #undef SOCKS5 + + #undef Rconnect + #undef Rgetsockname + #unde...
2001 Feb 07
2
Patch for unformatted manpages
...54:31 2001 +++ openssh_work/configure.in Tue Feb 6 23:22:02 2001 @@ -52,12 +52,8 @@ fi AC_CHECK_FUNC(authenticate, [AC_DEFINE(WITH_AIXAUTHENTICATE)]) AC_DEFINE(BROKEN_GETADDRINFO) - MANTYPE='$(CATMAN)' - mansubdir=cat dnl AIX handles lastlog as part of its login message AC_DEFINE(DISABLE_LASTLOG) - MANTYPE='$(CATMAN)' - mansubdir=cat ;; *-*-cygwin*) LIBS="$LIBS -lregex /usr/lib/textmode.o" @@ -80,8 +76,6 @@ AC_DEFINE(DISABLE_UTMP) AC_DEFINE(SPT_TYPE,SPT_PSTAT) LIBS="$LIBS -lsec" - MANTYPE='$(CATMAN)' - mansubdir=cat ;; *-*-hpux11*) CPPFLA...