search for: use_utmpx

Displaying 20 results from an estimated 22 matches for "use_utmpx".

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
2000 May 31
3
Solaris utmp problems
Could all those who were having problems with utmp logging on Solaris please try the test release at: http://violet.ibs.com.au/openssh/files/test/openssh-TEST-2000053100.tar.gz Users on other platforms, particularly HP/UX, AIX and SCO are invited as well, to test compatibility. The login code is heaps cleaner now. -d -- | "Bombay is 250ms from New York in the new world order" -
2000 Apr 21
0
OpenSSH 1.2.3 on AIX 4.3.3
...raightforward than the original. I confirmed that it works under Solaris 2.[67] too. Don't forget to run autoconf. --- bsd-login.c.orig Sat Dec 25 18:21:48 1999 +++ bsd-login.c Thu Apr 20 18:26:41 2000 @@ -65,15 +65,23 @@ struct utmp *utp; #endif /* defined(HAVE_UTMPX_H) && defined(USE_UTMPX) */ { +#if defined(HAVE_PUTUTLINE) + struct utmp *old_utp; +#else #if defined(HAVE_HOST_IN_UTMP) struct utmp old_ut; #endif + int tty; +#endif /* HAVE_PUTUTLINE */ #if defined(HAVE_UTMPX_H) && defined(USE_UTMPX) struct utmpx *old_utx; #endif /* defined(HAVE_UTMPX_H) && defi...
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
2001 Aug 21
0
Resend: loginrec.c patch
...case it got lost. The first hunk of the patch fixes a problem with the LOGIN_NEEDS_UTMPX support in that the date was not being set in the logininfo structure (causing wrong timestamps in the "last" log). The second hunk just omits the USE_WTMPX code in the LOGIN_NEEDS_UTMPX section if USE_UTMPX is defined. This prevents duplicate events in the last log under Solaris. Neither of these changes affect the non-LOGIN_NEEDS_UTMPX code. ..wayne.. ---8<------8<------8<------8<---cut here--->8------>8------>8------>8--- Index: loginrec.c --- loginrec.c 2001/08/06 23:29:...
2009 Dec 25
2
[openssh-portable] utmpx and ut_name
Hello OpenSSH hackers, The last couple of weeks I've been figuring out how hard it is to replace FreeBSD's <utmp.h> with <utmpx.h>. I don't think utmpx is perfect, but at least it's better than what we have now and at least it has gone through some form of standardisation. I noticed POSIX says the following [1]: | The <utmpx.h> header shall define the utmpx
1999 Dec 27
1
More patches to fix NetBSD compiling
...27 09:18:09 1999 @@ -33,6 +33,12 @@ /* Define is utmpx.h has a syslen field */ #undef HAVE_SYSLEN_IN_UTMPX +/* Define is utmp.h has a ut_pid field */ +#undef HAVE_PID_IN_UTMP + +/* Define is utmp.h has a ut_type field */ +#undef HAVE_TYPE_IN_UTMP + /* Define if you want to use utmpx */ #undef USE_UTMPX --- config.h.in.orig Mon Dec 27 09:16:31 1999 +++ config.h.in Mon Dec 27 09:18:28 1999 @@ -36,6 +36,12 @@ /* Define is utmpx.h has a syslen field */ #undef HAVE_SYSLEN_IN_UTMPX +/* Define is utmp.h has a ut_pid field */ +#undef HAVE_PID_IN_UTMP + +/* Define is utmp.h has a ut_type field */ +#...
2000 May 12
0
SunOS 4.x port
...ia #defines to sigvec, thus there is no SA_RESTART (this is the default behavior). This also supports SunOS 4.x shadow passwords (passwd adjunct). - todd --- configure.in.DIST Fri May 12 15:50:24 2000 +++ configure.in Fri May 12 16:08:22 2000 @@ -107,6 +107,10 @@ need_dash_r=1 AC_DEFINE(USE_UTMPX) ;; +*-*-sunos4*) + CFLAGS="$CFLAGS -DSUNOS4" + AC_CHECK_FUNCS(getpwanam) + ;; *-*-sysv*) CFLAGS="$CFLAGS -I/usr/local/include" LDFLAGS="$LDFLAGS -L/usr/local/lib" @@ -353,17 +357,6 @@ [size_t foo; foo = 1235;], [ AC_DEFINE(HAVE_SIZE_T) - AC_MSG_RESULT(y...
2000 Jan 27
1
Long awaited round 1 of NeXT patches.
...elf. So it's progress. -------------- next part -------------- diff -ruN openssh-1.2.2/bsd-login.c ossh-1.2.2n/bsd-login.c --- openssh-1.2.2/bsd-login.c Sat Dec 25 17:21:48 1999 +++ ossh-1.2.2n/bsd-login.c Thu Jan 27 00:42:24 2000 @@ -48,9 +48,7 @@ #if defined(HAVE_UTMPX_H) && defined(USE_UTMPX) # include <utmpx.h> #endif -#ifdef HAVE_UTMP_H -# include <utmp.h> -#endif + #include <stdio.h> #include <string.h> diff -ruN openssh-1.2.2/bsd-login.h ossh-1.2.2n/bsd-login.h --- openssh-1.2.2/bsd-login.h Fri Dec 24 17:11:29 1999 +++ ossh-1.2.2n/bsd-login.h Thu Jan 2...
2000 May 10
0
Solaris 7 - utmp
...w wyodlows pts/4 9:57pm w Yup. Duplicate entries... 'who' tells me: wyodlows pts/4 May 9 21:57 wyodlows pts/4 May 9 21:57 (me.my_isp.address) Now, if I use --without-utmpx, it doesn't affect the compile at all; "#define USE_UTMPX 1" gets put into the generated config.h anyway. If I manually comment that line out, then I get no utmp logging (what I'd expect) and 'w' and 'who' both work correctly. Thanks very much in advance! `- William Yodlowsky <wyodlows at nj.devry.edu>
2000 May 11
0
2nd try - Solaris 7 - utmp
...ries... 'who' tells me: wyodlows pts/4 May 9 21:57 wyodlows pts/4 May 9 21:57 (me.my_isp.address) In the first line of who's output, the address is blank (like it looks here). Now, if I use --without-utmpx, it doesn't affect the compile at all; "#define USE_UTMPX 1" gets put into the generated config.h anyway. If I manually comment that line out, then I get no utmp logging (what I'd expect) and 'w' and 'who' both work correctly. Thanks very much in advance! `- William Yodlowsky <wyodlows at nj.devry.edu>
2000 May 30
0
utmpx bug in openssh-2.1.0p2 using Solaris 8
...is 9 It can be repeated and is attributable to the login done by sshd. Now, Solaris has only utmpx/wtmpx and not the old utmp/wtmp. It get's worse as more logins take place until utmpx is so corrupted that user login at console is refused by the system. A look at bsd-login.c revealed that, if USE_UTMPX is defined, in line 135 utmpx is being opened, but later on regardless of this define a utmp structure is being written to it, thereby destroying utmpx's consistency. I don't have a bug fix, but a workaround (that won't work in general): $ diff bsd-login.c bsd-login.c.orig 127d126 &l...
2001 Jun 06
0
Remove duplicate "last" log messages with UseLogin
...tmpx, and this causes problems on Solaris in the "last" log. Changing the source to avoid modifying wtmpx when also modifying utmpx fixes things up nicely: Index: loginrec.c --- loginrec.c 2001/05/08 20:33:06 1.33 +++ loginrec.c 2001/06/06 17:14:25 @@ -456,9 +456,10 @@ # endif # ifdef USE_UTMPX utmpx_write_entry(li); -# endif -# ifdef USE_WTMPX +# else +# ifdef USE_WTMPX wtmpx_write_entry(li); +# endif # endif return 0; } Now running "last -10" after logging in has only a single entry for each ssh user, rather than a totally bogus entry before each valid entry. I'...
2001 Jun 21
0
Output of last command is strange on Solaris 2.6/8 (OpenSSH 2.9p2)
...7) ... --- openssh-2.9p2.orig/loginrec.c Wed May 9 05:34:33 2001 +++ openssh-2.9p2/loginrec.c Thu Jun 21 20:23:58 2001 @@ -451,15 +451,19 @@ # ifdef USE_UTMP utmp_write_entry(li); # endif +#ifndef __sun # ifdef USE_WTMP wtmp_write_entry(li); # endif +#endif # ifdef USE_UTMPX utmpx_write_entry(li); # endif +#ifndef __sun # ifdef USE_WTMPX wtmpx_write_entry(li); # endif +#endif return 0; } #endif If there is a right method of this case, please teach it. -- KITAZIMA, Tuneki NEC Informatec Systems,Ltd. tuneki at pb.jp.nec.com S...
2000 Feb 26
1
OpenSSH on HP-UX 11 with TCB
...t: *-*-hpux11*) if test -z "$GCC"; then CFLAGS="$CFLAGS -Ae" fi CFLAGS="$CFLAGS -D_HPUX_SOURCE" cat >> confdefs.h <<\EOF #define IPADDR_IN_DISPLAY 1 EOF cat >> confdefs.h <<\EOF #define USE_UTMPX 1 EOF echo $ac_n "checking for HPUX trusted system password database""... $ac_c" 1>&6 echo "configure:1301: checking for HPUX trusted system password database" >&5 if test -f /tcb/files/auth/system/default; then echo &quot...
2000 May 15
1
AIX authenticate patches
...LE_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_UTMPX_H) && defined(USE_UTMPX) */ -#if defined(_PATH_LASTLOG) && !defined(DISABLE_LASTLOG) +#if defined(_PATH_LASTLOG) && !defined(DISABLE_LASTLOG) && !defined(WITH_AIXAUTHENTICATE) + /* AIX does this in do_authentication */ lastlog = _PATH_LASTLOG; /* Update lastlog unless actually recording a l...
1999 Dec 28
1
ANNOUNCE: openssh-1.2.1pre22
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have just uploaded 1.2.1pre22 to: http://violet.ibs.com.au/openssh/files/ This release consists of portability fixes and cleanups. It also resolves two issues which may have caused security problems - If you OS header files did not define PATH_STDPATH, then an unsafe path was used by default (it contained an implicit '.'). Thanks
1999 Dec 28
1
ANNOUNCE: openssh-1.2.1pre22
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have just uploaded 1.2.1pre22 to: http://violet.ibs.com.au/openssh/files/ This release consists of portability fixes and cleanups. It also resolves two issues which may have caused security problems - If you OS header files did not define PATH_STDPATH, then an unsafe path was used by default (it contained an implicit '.'). Thanks
2001 Oct 08
2
Porting OpenSSH 2.9.9p2 to Dynix V4.4.4
Hello Porters, I am attempting to compile OpenSSH 2.9.9p2 on a Dynix V4.4.4 host. I have set USE_PIPES and BROKEN_SAVED_UIDS (the latter because there are no functions for set{eu,eg}id() that I can find). I configured with "./configure '--with-libs=-lnsl -lsec'". Each time I attempt to login, I get this error: No utmp entry. You must exec "login" from