Solaris utmp problems

Lutz Jaenicke Lutz.Jaenicke at aet.TU-Cottbus.DE
Wed May 31 22:39:06 EST 2000


On Wed, May 31, 2000 at 09:15:51PM +0900, Yozo TODA wrote:
> > http://violet.ibs.com.au/openssh/files/test/openssh-TEST-2000053100.tar.gz
> 
> I tried on Solaris8/sparc (with IPv6 enabled).
> login.c should be fixed to compile all.
> 
> % diff login.c.orig login.c
> 256c256
> <       login(&utx);
> ---
> >       login(&u,&utx);

Same holds for HP-UX 10.20.

> (1)
> looks like sshd doesn't update utmpx (and other files?) appropriately.
> I login to the system, but last command indicates nothing.
...

Same for HP-UX 10.20.

> moreover, w and who commands don't work.
> 
> % w
>   8:36pm  up 11157 day(s), 19:50,  0 users,  load average: 0.02, 0.03, 0.04
> User     tty           login@  idle   JCPU   PCPU  what
> % who
> Segmentation Fault (core dumped)
> % 

I don't see this on HP-UX 10.20.

Best regards,
	Lutz
-- 
Lutz Jaenicke                             Lutz.Jaenicke at aet.TU-Cottbus.DE
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153





More information about the openssh-unix-dev mailing list