search for: have_host_in_utmpx

Displaying 13 results from an estimated 13 matches for "have_host_in_utmpx".

Did you mean: have_host_in_utmp
1999 Dec 09
1
bsd-login.c in pre17
...8:42 1999 @@ -52,6 +52,7 @@ # include <utmp.h> #endif #include <stdio.h> +#include <string.h> void login(utp) @@ -78,7 +79,7 @@ tty = ttyslot(); if (tty > 0 && (fd = open(_PATH_UTMP, O_RDWR|O_CREAT, 0644)) >= 0) { -#ifdef HAVE_HOST_IN_UTMP || HAVE_HOST_IN_UTMPX +#if defined(HAVE_HOST_IN_UTMP) || defined(HAVE_HOST_IN_UTMPX) (void)lseek(fd, (off_t)(tty * sizeof(struct UTMP_STR)), SEEK_SET); /* * Prevent luser from zero'ing out ut_host. _____________________________________________________ Sent by Jahoo...
2012 Aug 16
9
[Bug 2034] New: make fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2034 Priority: P5 Bug ID: 2034 Assignee: unassigned-bugs at mindrot.org Summary: make fails Severity: critical Classification: Unclassified OS: FreeBSD Reporter: kris.universe at gmail.com Hardware: amd64 Status: NEW Version: 6.0p1
2000 Jul 01
0
Problem with cleaning utmp entry
...hecking for ut_exit field in utmp.h... no checking for ut_time field in utmp.h... yes checking for ut_time field in utmpx.h... no checking for ut_tv field in utmpx.h... no PPS. Part of config.h (after doing configure): /* struct utmp and struct utmpx fields */ #define HAVE_HOST_IN_UTMP 1 /* #undef HAVE_HOST_IN_UTMPX */ #define HAVE_ADDR_IN_UTMP 1 /* #undef HAVE_ADDR_IN_UTMPX */ /* #undef HAVE_ADDR_V6_IN_UTMP */ /* #undef HAVE_ADDR_V6_IN_UTMPX */ /* #undef HAVE_SYSLEN_IN_UTMPX */ #define HAVE_PID_IN_UTMP 1 #define HAVE_TYPE_IN_UTMP 1 /* #undef HAVE_TYPE_IN_UTMPX */ /* #undef HAVE_TV_IN_UTMP */ /* #undef HAVE_TV...
2001 Nov 20
0
PATCH: Fixing last/utmpx for Solaris
...>username, MIN_SIZEOF(utx->ut_name, li->username)); if (li->type == LTYPE_LOGOUT) return; @@ -711,7 +712,6 @@ */ /* strncpy(): Don't necessarily want null termination */ - strncpy(utx->ut_name, li->username, MIN_SIZEOF(utx->ut_name, li->username)); # ifdef HAVE_HOST_IN_UTMPX strncpy(utx->ut_host, li->hostname, MIN_SIZEOF(utx->ut_host, li->hostname)); # endif @@ -942,9 +942,7 @@ { struct utmpx utx; - memset(&utx, '\0', sizeof(utx)); - set_utmpx_time(li, &utx); - line_stripname(utx.ut_line, li->line, sizeof(utx.ut_line)); + construc...
2002 Jan 29
0
[Bug 84] New: last command provides incorrect information on Solaris 8
...ame, li->username)); if (li->type == LTYPE_LOGOUT) return; @@ -711,7 +712,6 @@ */ /* strncpy(): Don't necessarily want null termination */ - strncpy(utx->ut_name, li->username, MIN_SIZEOF(utx->ut_name, li->username)); # ifdef HAVE_HOST_IN_UTMPX strncpy(utx->ut_host, li->hostname, MIN_SIZEOF(utx->ut_host, li->hostname)); # endif @@ -942,9 +942,7 @@ { struct utmpx utx; - memset(&utx, '\0', sizeof(utx)); - set_utmpx_time(li, &utx); - line_stripname(utx.ut_line, li->line, si...
2001 Nov 15
1
Patch for "last" providing incorrect information on Solaris 8
...>username, MIN_SIZEOF(utx->ut_name, li->username)); if (li->type == LTYPE_LOGOUT) return; @@ -711,7 +712,6 @@ */ /* strncpy(): Don't necessarily want null termination */ - strncpy(utx->ut_name, li->username, MIN_SIZEOF(utx->ut_name, li->username)); # ifdef HAVE_HOST_IN_UTMPX strncpy(utx->ut_host, li->hostname, MIN_SIZEOF(utx->ut_host, li->hostname)); # endif @@ -942,9 +942,7 @@ { struct utmpx utx; - memset(&utx, '\0', sizeof(utx)); - set_utmpx_time(li, &utx); - line_stripname(utx.ut_line, li->line, sizeof(utx.ut_line)); + construc...
2000 Jun 13
2
Openssh-2.1.1p1 and solaris 7/8
Hello, I just installed the above openssh onto a Sun Solaris 7 and Solaris 8 system. No problem with that. However, I now seem to get some rubbish processed when I login with slogin. An example: Last login: Tue Jun 13 12:31:27 2000 from jhorne.csd.plymo:tJ` ^[[?1;2c Telnet logs in okay, but just shows 'Last login...jhorne.csd.plymo'. This seems to get passed to the shell, which it of
2001 Jan 29
1
Solaris wtmpx patch
...EOF(utx->ut_name, li->username)); + if (li->type == LTYPE_LOGOUT) return; @@ -682,8 +685,6 @@ * for logouts. */ - /* strncpy(): Don't necessarily want null termination */ - strncpy(utx->ut_name, li->username, MIN_SIZEOF(utx->ut_name, li->username)); # ifdef HAVE_HOST_IN_UTMPX strncpy(utx->ut_host, li->hostname, MIN_SIZEOF(utx->ut_host, li->hostname)); # endif diff -u -r openssh-2.3.0p1.orig/session.c openssh-2.3.0p1/session.c --- openssh-2.3.0p1.orig/session.c Fri Oct 27 20:19:58 2000 +++ openssh-2.3.0p1/session.c Fri Jan 26 14:31:22 2001 @@ -194,7 +194,7...
1999 Dec 21
0
Problem with UTMP recording
...d with #include <ssl/header.h> */ /* #undef HAVE_SSL */ /* Define if your ssl headers are included with #include <openssl/header.h> */ #define HAVE_OPENSSL 1 /* Define is utmp.h has a ut_host field */ #define HAVE_HOST_IN_UTMP 1 /* Define is utmpx.h has a ut_host field */ /* #undef HAVE_HOST_IN_UTMPX */ /* Define is libutil has login() function */ /* #undef HAVE_LIBUTIL_LOGIN */ /* Define if libc defines __progname */ #define HAVE___PROGNAME 1 /* Define if you want Kerberos 4 support */ /* #undef KRB4 */ /* Define if you want AFS support */ /* #undef AFS */ /* Define if you want S/Key supp...
1999 Dec 24
5
ANNOUNCE: openssh-1.2.1pre20
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 openssh-1.2.1pre20 has been released at: http://violet.ibs.com.au/openssh/files/ This release integrates more of Andre Lucas' portability patch, Ben Taylor's utmpx patch and some cleanups and bugfixes of my own. The auth-passwd failures should be fixed, as should lastlog support on NetBSD. Since Andre Lucas' patch included platform
1999 Dec 24
5
ANNOUNCE: openssh-1.2.1pre20
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 openssh-1.2.1pre20 has been released at: http://violet.ibs.com.au/openssh/files/ This release integrates more of Andre Lucas' portability patch, Ben Taylor's utmpx patch and some cleanups and bugfixes of my own. The auth-passwd failures should be fixed, as should lastlog support on NetBSD. Since Andre Lucas' patch included platform
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...TH_IRIX_AUDIT */ /* #undef WITH_IRIX_JOBS */ /* #undef PRNGD_SOCKET */ /* #undef PRNGD_PORT */ #define ENTROPY_TIMEOUT_MSEC 200 #define SSH_PRIVSEP_USER "sshd" /* #undef MANTYPE */ #define HAVE_OPENSSL 1 /* #undef RSAREF */ #define HAVE_STRUCT_TIMEVAL 1 #define HAVE_HOST_IN_UTMP 1 #define HAVE_HOST_IN_UTMPX 1 #define HAVE_ADDR_IN_UTMP 1 #define HAVE_ADDR_IN_UTMPX 1 #define HAVE_ADDR_V6_IN_UTMP 1 #define HAVE_ADDR_V6_IN_UTMPX 1 /* #undef HAVE_SYSLEN_IN_UTMPX */ #define HAVE_PID_IN_UTMP 1 #define HAVE_TYPE_IN_UTMP 1 #define HAVE_TYPE_IN_UTMPX 1 #define HAVE_TV_IN_UTMP 1 #define HAVE_TV_IN_UTMPX 1 #defin...
2006 Apr 11
0
Problem building openssh-4.3p2 under cygwin and windows XP
...fine HAVE_GETRLIMIT 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_GETUTENT 1 #define HAVE_GETUTID 1 #define HAVE_GETUTLINE 1 #define HAVE_GETUTXENT 1 #define HAVE_GETUTXID 1 #define HAVE_GETUTXLINE 1 #define HAVE_GLOB 1 #define HAVE_GLOB_H 1 #define HAVE_HEADER_AD 1 #define HAVE_HOST_IN_UTMP 1 #define HAVE_HOST_IN_UTMPX 1 #define HAVE_ID_IN_UTMP 1 #define HAVE_ID_IN_UTMPX 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_NTOP 1 #define HAVE_INT64_T 1 #define HAVE_INTXX_T 1 #define HAVE_IN_ADDR_T 1 #define HAVE_LASTLOG_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_LIBZ 1 #define HAVE_LIMITS_H 1 #defi...