-----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 to Jim Knoble for pointing this out and supplying a fix. - PermitEmptyPassword was being ignored for PAM systems. An upgrade is therefore recommended. This release also includes Andre Lucas' fixpaths perl script which will substitute the correct paths into the manpages at install time. Also included is peliminary Irix support. I have managed to compile it under Irix 5.2, but was not able to run it (my perl install is too broken to run EGD). lastlog support is disabled under Irix because it uses a strange directory based lastlog which I cannot find documentation on. I am interested in hearing success or failure stories from users of Solaris, HPUX, AIX, Irix, NetBSD and older Linux variants. ChangeLog: 19991228 - Replacement for getpagesize() for systems which lack it - NetBSD login.c compile fix from David Rankin <drankin at bohemians.lexington.ky.us> - Fully set ut_tv if present in utmp or utmpx - Portability fixes for Irix 5.3 (now compiles OK!) - autoconf and other misc cleanups 19991227 - Automatically correct paths in manpages and configuration files. Patch and script from Andre Lucas <andre.lucas at dial.pipex.com> - Removed credits from README to CREDITS file, updated. - Added --with-default-path to specify custom path for server - Removed #ifdef trickery from acconfig.h into defines.h - PAM bugfix. PermitEmptyPassword was being ignored. - Fixed PAM config files to allow empty passwords if server does. - Explained spurious PAM auth warning workaround in UPGRADING - Use last few chars of tty line as ut_id - New SuSE RPM spec file from Chris Saia <csaia at wtower.com> - OpenBSD CVS updates: - [packet.h auth-rhosts.c] check format string for packet_disconnect and packet_send_debug, too - [channels.c] use packet_get_maxsize for channels. consistence. 19991226 - Fixed implicit '.' in default path, report from Jim Knoble <jmknoble at pobox.com> - Redhat RPM spec fixes from Jim Knoble <jmknoble at pobox.com> Regards, Damien Miller - -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.org/ | Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.0 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE4aEHformJ9RG1dI8RAsy6AJ9mRwol+KxAymF6eE2m/PouqUWqkwCgxh8K vHZbW8K4chmupbT9p6s7D7o=suuE -----END PGP SIGNATURE-----
On Tue, Dec 28, 1999 at 03:51:39PM +1100, Damien Miller wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I have just uploaded 1.2.1pre22 to:...> I am interested in hearing success or failure stories from users of > Solaris, HPUX, AIX, Irix, NetBSD and older Linux variants.Wouldn't you know it, another NetBSD-caused utmp patch, this time for ut_id. In case it will help in the future, here's what utmp.h basically looks like on NetBSD: #define UT_NAMESIZE 8 #define UT_LINESIZE 8 #define UT_HOSTSIZE 16 struct lastlog { time_t ll_time; char ll_line[UT_LINESIZE]; char ll_host[UT_HOSTSIZE]; }; struct utmp { char ut_line[UT_LINESIZE]; char ut_name[UT_NAMESIZE]; char ut_host[UT_HOSTSIZE]; time_t ut_time; }; Anyway, another unified diff to fix things. Thanks, David --- configure.in.orig Tue Dec 28 09:15:51 1999 +++ configure.in Tue Dec 28 09:16:43 1999 @@ -290,6 +290,11 @@ [AC_DEFINE(HAVE_TV_IN_UTMP) AC_MSG_RESULT(yes); ], [AC_MSG_RESULT(no)] ) +AC_MSG_CHECKING([whether utmp.h has ut_id field]) +AC_EGREP_HEADER(ut_id, utmp.h, + [AC_DEFINE(HAVE_ID_IN_UTMP) AC_MSG_RESULT(yes); ], + [AC_MSG_RESULT(no)] +) dnl Look for lastlog location AC_ARG_WITH(lastlog, --- login.c.orig Tue Dec 28 09:13:45 1999 +++ login.c Tue Dec 28 09:15:30 1999 @@ -141,7 +141,9 @@ /* Construct an utmp/wtmp entry. */ memset(&u, 0, sizeof(u)); strncpy(u.ut_line, ttyname + 5, sizeof(u.ut_line)); +#if defined(HAVE_ID_IN_UTMP) strncpy(u.ut_id, ttyname + 8, sizeof(u.ut_id)); +#endif /* defined(HAVE_ID_IN_UTMP) */ strncpy(u.ut_name, user, sizeof(u.ut_name)); #if defined(HAVE_TV_IN_UTMP) (void)gettimeofday(&u.ut_tv, NULL); --- acconfig.h.orig Tue Dec 28 09:17:10 1999 +++ acconfig.h Tue Dec 28 09:17:38 1999 @@ -48,6 +48,9 @@ /* Define is utmp.h has a ut_tv field */ #undef HAVE_TV_IN_UTMP +/* Define is utmp.h has a ut_id field */ +#undef HAVE_ID_IN_UTMP + /* Define if you want to use utmpx */ #undef USE_UTMPX