search for: _path_lastlog

Displaying 20 results from an estimated 24 matches for "_path_lastlog".

2000 May 15
1
AIX authenticate patches
...e May 9 13:11:36 2000 +++ login.c Tue May 9 13:10:40 2000 @@ -53,6 +53,10 @@ get_last_login_time(uid_t uid, const char *logname, char *buf, unsigned int bufsize) { +#if defined(WITH_AIXAUTHENTICATE) + /* This is done in do_authentication */ + return (unsigned long) 0; +#else #if defined(_PATH_LASTLOG) && !defined(DISABLE_LASTLOG) struct lastlog ll; char *lastlog; @@ -128,6 +132,7 @@ return t; #endif /* defined(_PATH_LASTLOG) && !defined(DISABLE_LASTLOG) */ +#endif /* defined(WITH_AIXAUTHENTICATE) */ } /* @@ -242,7 +247,8 @@ login(&u); #endif /* defined(HAVE_U...
2000 Aug 01
2
[2.1.1p4] utmp patch for SunOS 4.1.x
...defined(UTMP_FILE) && defined(_PATH_UTMP) ! # define UTMP_FILE _PATH_UTMP #endif ! #if !defined(WTMP_FILE) && defined(_PATH_WTMP) ! # define WTMP_FILE _PATH_WTMP #endif /* pick up the user's location for lastlog if given */ ! #if !defined(LASTLOG_FILE) && defined(_PATH_LASTLOG) ! # define LASTLOG_FILE _PATH_LASTLOG ! #endif ! #if !defined(LASTLOG_FILE) && defined(CONF_LASTLOG_FILE) ! # define LASTLOG_FILE CONF_LASTLOG_FILE #endif --- 329,361 ---- #endif /* FIXME: put default paths back in */ ! #ifndef UTMP_FILE ! # ifdef _PATH_UTMP ! # define...
2000 Jul 26
2
[2.1.1p4] utmp related patches plus unresolved bugs description
...E _PATH_WTMP +#ifndef WTMP_FILE +# ifdef _PATH_WTMP +# define WTMP_FILE _PATH_WTMP +# else +# ifdef CONF_WTMP_FILE +# define WTMP_FILE CONF_WTMP_FILE +# endif +# endif #endif /* pick up the user's location for lastlog if given */ -#if !defined(LASTLOG_FILE) && defined(_PATH_LASTLOG) -# define LASTLOG_FILE _PATH_LASTLOG -#endif -#if !defined(LASTLOG_FILE) && defined(CONF_LASTLOG_FILE) -# define LASTLOG_FILE CONF_LASTLOG_FILE +#ifndef LASTLOG_FILE +# ifdef _PATH_LASTLOG +# define LASTLOG_FILE _PATH_LASTLOG +# else +# ifdef CONF_LASTLOG_FILE +# define LAST...
2001 Feb 15
0
Configure suggestion
I just downloaded and build 2.3.0p1 on BSD/OS 4.0.1 and 4.1 with no problems. Good job, guys! I did notice that although configure looks for both LASTLOG_FILE and _PATH_LASTLOG, it only looks for UTMP_FILE and WTMP_FILE. BSD/OS doesn't define those, but it does define _PATH_UTMP and _PATH_WTMP (in <utmp.h>, same as _PATH_LASTLOG), so you may want to have configure check for them, too. (It's not a problem since BSD/OS keeps them in one of the standard place...
1999 Dec 21
0
Problem with UTMP recording
...efine u_int64_t unsigned long long int # else # error "64 bit int type not found." # endif # endif # endif #endif /* If quad_t is not supplied, then supply it now. We can rely on int64_t */ /* being defined by the above */ #ifndef HAVE_QUAD_T # define quad_t int64_t #endif /* If _PATH_LASTLOG is not defined by system headers, set it to the */ /* lastlog file detected by autoconf */ #ifndef _PATH_LASTLOG # ifdef LASTLOG_LOCATION # define _PATH_LASTLOG LASTLOG_LOCATION # endif #endif /* Use utmpx if supported */ #ifdef HAVE_UTMPX_H # define UTMP_STR utmpx #else # ifdef HAVE_UTMP_H # d...
2000 Jan 23
0
login.c: #ifdef wrong?
...ame. Patch follows. Ta, -Andre --- openssh-1.2.1pre27/login.c Fri Jan 14 04:45:50 2000 +++ openssh-1.2.1pre27.ll/login.c Sun Jan 23 00:09:19 2000 @@ -58,20 +58,20 @@ char *lastlog; int fd; #ifdef LASTLOG_IS_DIR - char buf[1024]; + char lbuf[1024]; #endif /* LASTLOG_IS_DIR */ lastlog = _PATH_LASTLOG; buf[0] = '\0'; -#ifdef LASTLOG_IS_DIR +#ifndef LASTLOG_IS_DIR fd = open(lastlog, O_RDONLY); if (fd < 0) return 0; lseek(fd, (off_t) ((long) uid * sizeof(ll)), SEEK_SET); #else /* LASTLOG_IS_DIR */ - snprintf(buf, sizeof(buf), "%s/%s", lastlog, logname); - fd = op...
2000 Jun 12
1
AIX and 2.1.1p1
...on 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(DISABLE_LASTLOG) + MANTYPE='$(CATMAN)' + mansubdir=cat ;; *-*-hpux10*) if test -z "$GCC"; then @@ -994,7 +996,7 @@ [ char *lastlog = _PATH_LASTLOG; ], [ AC_MSG_RESULT(yes) ], [ - AC_MSG_RESULT(no), + AC_MSG_RESULT(no) system_lastlog_path=no ]) ] --- session.c.orig Mon Jun 12 16:52:59 2000 +++ session.c Mon Jun 12 16:54:24 2000 @@ -524,6 +524,9 @@ /* Get remote host name. */ hostname = get_canonical_hostname(); +#if de...
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"
2000 Jun 14
1
OpenSSH 2.1.1p1 on SCO Unixware 7.1.0
...for uptime... /usr/bin/uptime checking for ipcs... /usr/bin/ipcs checking for tail... /usr/bin/tail checking for ls... (cached) /usr/bin/ls checking if we need to convert IPv4 in IPv6-mapped addresses... no (default) checking if your system defines LASTLOG_FILE... no checking if your system defines _PATH_LASTLOG... no UX:test (./configure): ERROR: Argument expected
2000 Jul 03
0
FreeBSD 3.5-STABLE
...h... /usr/bin/rsh checking for xauth... no checking for /dev/ptmx... no checking for /dev/ptc... no checking for /dev/urandom... yes checking if we need to convert IPv4 in IPv6-mapped addresses... no (default) checking if your system defines LASTLOG_FILE... no checking if your system defines _PATH_LASTLOG... yes checking if your system defines UTMP_FILE... no checking if your system defines WTMP_FILE... no checking if your system defines UTMPX_FILE... no checking if your system defines WTMPX_FILE... no updating cache ./config.cache creating ./config.status creating Makefile creating ssh_prng...
1999 Nov 19
1
[solaris 7 patch] resubmit and extended ...
Okay, everything as the first large one I sent today, with a few extra mods. _PATH_MAILDIR is only used in sshd.c, that I can see, so moved the #ifdef from config.h.in to there. several files had __progname defined in the middle of the code, as well as at the top of the code, so cleaned those out. all the fixes for u_int32_t -> uint32_t and u_int16_t -> uint16_t, plus added appropriate
2001 Oct 26
2
problems building on solaris 2.6
...ow information... yes Adding /usr/local/openssh-3.0p1/bin to USER_PATH so scp will work checking if we need to convert IPv4 in IPv6-mapped addresses... no (default) checking whether to install ssh as suid root... yes checking if your system defines LASTLOG_FILE... no checking if your system defines _PATH_LASTLOG... no checking if your system defines UTMP_FILE... yes checking if your system defines WTMP_FILE... yes checking if your system defines UTMPX_FILE... yes checking if your system defines WTMPX_FILE... yes configure: creating ./config.status config.status: creating Makefile config.status: creating op...
2001 May 15
0
openssh 2.9p1 on Solaris 2.6 with AFS
...or nroff... /usr/bin/nroff checking if the systems has expire shadow information... yes checking if we need to convert IPv4 in IPv6-mapped addresses... no (default) checking whether to install ssh as suid root... yes checking if your system defines LASTLOG_FILE... no checking if your system defines _PATH_LASTLOG... no checking if your system defines UTMP_FILE... yes checking if your system defines WTMP_FILE... yes checking if your system defines UTMPX_FILE... yes checking if your system defines WTMPX_FILE... yes checking for Cygwin environment... no checking for mingw32 environment... no checking for execu...
2001 Jul 16
0
No subject
...e "confdefs.h" #include <sys/types.h> #include <utmp.h> #ifdef HAVE_LASTLOG_H # include <lastlog.h> #endif #ifdef HAVE_PATHS_H # include <paths.h> #endif int main() { char *lastlog = LASTLOG_FILE; ; return 0; } configure:8366: checking if your system defines _PATH_LASTLOG configure:8384: cc -c -g -I/usr/local/ssl/include conftest.c 1>&5 cc: Error: configure, line 8380: In the initializer for lastlog, "_PATH_LASTLOG" is not declared. (undeclared) char *lastlog = _PATH_LASTLOG; -----------------^ configure: failed program was: #line 8368 "conf...
2000 Aug 26
0
New chroot patch, for 2.1.1p4
...re:5991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""yes" 1>&6 else @@ -5977,9 +5997,9 @@ echo "$ac_t""no" 1>&6 echo $ac_n "checking if your system defines _PATH_LASTLOG""... $ac_c" 1>&6 -echo "configure:5981: checking if your system defines _PATH_LASTLOG" >&5 +echo "configure:6001: checking if your system defines _PATH_LASTLOG" >&5 cat > conftest.$ac_ext <<EOF -#line 5983 "configure" +#l...
2000 Oct 04
0
2.2.0p1 chroot patch
...re:6216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""yes" 1>&6 else @@ -6202,9 +6222,9 @@ echo "$ac_t""no" 1>&6 echo $ac_n "checking if your system defines _PATH_LASTLOG""... $ac_c" 1>&6 -echo "configure:6206: checking if your system defines _PATH_LASTLOG" >&5 +echo "configure:6226: checking if your system defines _PATH_LASTLOG" >&5 cat > conftest.$ac_ext <<EOF -#line 6208 "configure" +#l...
2001 Apr 10
2
Compiling openssh 2.5.p1 on unixware 7.0.1
...l... (cached) /usr/bin/tail checking if the systems has expire shadow information... yes checking if we need to convert IPv4 in IPv6-mapped addresses... no (default) checking whether to install ssh as suid root... no checking if your system defines LASTLOG_FILE... no checking if your system defines _PATH_LASTLOG... no checking if your system defines UTMP_FILE... yes checking if your system defines WTMP_FILE... yes checking if your system defines UTMPX_FILE... yes checking if your system defines WTMPX_FILE... yes checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no...
2001 Jul 11
0
Solaris 2.6: Undefined symbol seed_rng
...s expire shadow information... yes Adding /home/eedalf/bin to USER_PATH so scp will work checking if we need to convert IPv4 in IPv6-mapped addresses... no (default) checking whether to install ssh as suid root... no checking if your system defines LASTLOG_FILE... no checking if your system defines _PATH_LASTLOG... no checking if your system defines UTMP_FILE... yes checking if your system defines WTMP_FILE... yes checking if your system defines UTMPX_FILE... yes checking if your system defines WTMPX_FILE... yes checking for Cygwin environment... no checking for mingw32 environment... no checking for execu...
2000 Jul 08
1
sshd Pam problem for Redhat 6.2
...ing for rsh... /usr/kerberos/bin/rsh checking for xauth... /usr/bin/X11/xauth checking for /dev/ptc... no checking for /dev/urandom... yes checking if we need to convert IPv4 in IPv6-mapped addresses... yes (default) checking if your system defines LASTLOG_FILE... no checking if your system defines _PATH_LASTLOG... yes checking if your system defines UTMP_FILE... yes checking if your system defines WTMP_FILE... yes checking if your system defines UTMPX_FILE... no checking if your system defines WTMPX_FILE... no updating cache ./config.cache creating ./config.status creating Makefile creating ssh_prng_cmds...
2005 Mar 15
18
[Bug 1001] Error on MAKE while compiling SRPMS and tar.gz but not while installing RPMS
http://bugzilla.mindrot.org/show_bug.cgi?id=1001 Summary: Error on MAKE while compiling SRPMS and tar.gz but not while installing RPMS Product: Portable OpenSSH Version: 3.7.1p2 Platform: All OS/Version: Linux Status: NEW Severity: critical Priority: P2 Component: ssh