ANNOUNCE: openssh-1.2.1pre20
Damien Miller
djm at mindrot.org
Sat Dec 25 22:42:52 EST 1999
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 24 Dec 1999, Ben Taylor wrote:
>
> Here are my patches against pre20 which make utmpx support
> work correctly for Solaris.
Applied. A question before I commit it:
===================================================================
RCS file: /var/cvs/openssh/login.c,v
retrieving revision 1.11
diff -u -r1.11 login.c
- --- login.c 1999/12/24 23:11:29 1.11
+++ login.c 1999/12/25 11:34:14
@@ -152,10 +152,11 @@
#if defined(HAVE_UTMPX_H) && defined(USE_UTMPX)
memset(&utx, 0, sizeof(utx));
strncpy(utx.ut_user, user, sizeof(utx.ut_name));
+ strcpy(utx.ut_id, "sshd");
My docs (utmp.h) indicates that the ut_id field is used to
indicate the id of the process from the inittab. Is it used for
something different on Solaris?
Regards,
Damien
- --
| "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
iD8DBQE4ZK3BormJ9RG1dI8RAhSlAJ48eed0lvf5L0//RLOPo5xKSHzsWwCdGsz3
57+k6rAL2JYXZzDI5RoS6Qc=
=RnzM
-----END PGP SIGNATURE-----
More information about the openssh-unix-dev
mailing list