Solaris 7 - utmp

William Yodlowsky wyodlows at
Wed May 10 12:07:51 EST 2000

Today I installed OpenSSH-2.1.0 together with zlib-1.1.3 and
OpenSSL-0.9.5a on Solaris 7 on an Ultra box.

There appears to be something odd with the utmp stuff... if I just do a
normal configure, utmp logging works fine, but 'w' will give me this:

 10:03pm  up 13 day(s), 21:42,  3 users,  load average: 0.04, 0.07, 0.10
User     tty           login@  idle   JCPU   PCPU  what
wyodlows pts/4         9:57pm                      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>

More information about the openssh-unix-dev mailing list