search for: have_type_in_utmpx

Displaying 8 results from an estimated 8 matches for "have_type_in_utmpx".

Did you mean: have_type_in_utmp
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 May 17
4
Openssh-2.1.0p1 test release
This to announce a test release of 2.1.0p1 before making it widely available. This release includes many fixes to problems reported over the last week. In particular: - spurious error and coredumps caused by the inbuilt entropy gathering - RSAref detection - Compilation fixes for Solaris and others It also contains (completely untested) support for compiling without RSA support. This may be
2000 Jul 01
0
Problem with cleaning utmp entry
...x 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_IN_UTMPX */ #define HAVE_ID_IN_UTMP 1 /* #undef HAVE_EXIT_IN_UTMP */ #define HAVE_TIME_IN_UTMP 1 /* #undef HAVE_TIME_IN_UTMPX */
2000 Jul 02
0
patch for NetBSD utmp (ut_name instead of ut_host)
...gt;username, utx->ut_user)) == 0 ) { + MIN_SIZEOF(li->username, utx->ut_user)) == 0 ) +# elif defined(HAVE_NAME_IN_UTMP) + if ( strncmp(li->username, utx->ut_name, + MIN_SIZEOF(li->username, utx->ut_name)) == 0 ) +# else +# error no ut_user nor ut_name +# endif + { # ifdef HAVE_TYPE_IN_UTMPX -------------- next part -------------- $NetBSD: patch-am,v 1.1 2000/07/02 22:07:56 itojun Exp $ --- acconfig.h- Mon Jul 3 06:58:28 2000 +++ acconfig.h Mon Jul 3 06:58:09 2000 @@ -49,2 +49,6 @@ /* struct utmp and struct utmpx fields */ +#undef HAVE_NAME_IN_UTMP +#undef HAVE_NAME_IN_UTMPX +#unde...
2000 Jul 04
0
AW: FreeBSD 3.5-STABLE
...return 1; @@ -1161,7 +1161,7 @@ static int wtmpx_islogin(struct logininfo *li, struct utmpx *utx) { - if ( strncmp(li->username, utx->ut_user, + if ( strncmp(li->username, utx->ut_name, MIN_SIZEOF(li->username, utx->ut_user)) == 0 ) { # ifdef HAVE_TYPE_IN_UTMPX if (utx->ut_type == USER_PROCESS) And here's a startup script. #!/bin/sh # sshd startup script for FreeBSD 3.5-STABLE, should work elsewhere # Name it /usr/local/etc/rc.d/sshd.sh # Note without the .sh it won't execute from boot # darren at horseplay.demon.co.uk P...
2009 Dec 25
2
[openssh-portable] utmpx and ut_name
...@ static int wtmpx_islogin(struct logininfo *li, struct utmpx *utx) { - if (strncmp(li->username, utx->ut_name, - MIN_SIZEOF(li->username, utx->ut_name)) == 0 ) { + if (strncmp(li->username, utx->ut_user, + MIN_SIZEOF(li->username, utx->ut_user)) == 0 ) { # ifdef HAVE_TYPE_IN_UTMPX if (utx->ut_type == USER_PROCESS) return (1); %%% It changes all uses of ut_name on utmpx structures to ut_user. Any chance this can go into CVS? Merry christmas, -- Ed Schouten <ed at 80386.nl> WWW: http://80386.nl/ [1] http://www.opengroup.org/onlinepubs/9699919799/basedefs/...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...ine 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 #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...
2006 Apr 11
0
Problem building openssh-4.3p2 under cygwin and windows XP
...SMACROS_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_TCGETPGRP 1 #define HAVE_TCSENDBREAK 1 #define HAVE_TIME 1 #define HAVE_TIME_H 1 #define HAVE_TIME_IN_UTMP 1 #define HAVE_TIME_IN_UTMPX 1 #define HAVE_TRUNCATE 1 #define HAVE_TV_IN_UTMPX 1 #define HAVE_TYPE_IN_UTMP 1 #define HAVE_TYPE_IN_UTMPX 1 #define HAVE_UINTXX_T 1 #define HAVE_UNISTD_H 1 #define HAVE_UNSETENV 1 #define HAVE_UNSIGNED_LONG_LONG 1 #define HAVE_UPDWTMP 1 #define HAVE_UTIMES 1 #define HAVE_UTIME_H 1 #define HAVE_UTMPNAME 1 #define HAVE_UTMPXNAME 1 #define HAVE_UTMPX_H 1 #define HAVE_UTMP_H 1 #define HAVE_U_CHAR 1 #define...