64-bit HP/UX 11.00 wtmp corruption identified

Kevin Steves stevesk at pobox.com
Thu Jan 10 09:35:30 EST 2002


On Wed, 9 Jan 2002, Quentin Bracken wrote:
:I do not know what a good work around could be.  I temporarily modified
:the /usr/include/utmp.h structure to use int32_t as the type for ut_time
:instead of long and rebuilt loginrec.o and relinked sshd.  OpenSSH
:performed correctly, updating wtmp like a champ.  I thought that we
:could use utmpname and the pututline tools (which will convert the 72
:byte structure to a 60 byte structure somehow), but their behavior is
:not actually compatible with wtmp.  I also thought about defining a
:custom utmp structure when building on HP-UX 64-bit, but that really
:seems like a bad way of doing it.

ah, thanks for dealing with problems in TODO.

we use getutx(3C) and getut(3C) for get* and put* (i think that is correct
for hp-ux).  would this be a defect in the 64-bit versions of those
interfaces?  i don't understand "not actually compatible with wtmp".




More information about the openssh-unix-dev mailing list