ftpd writes incorrect /etc/utmp (3.3.1)

Kurt Jaeger aka PI zrzr0111 at helpdesk.rus.uni-stuttgart.de
Fri Jan 4 03:23:15 AEST 1991


Hi !

This is part of a "cat -v" of our /etc/utmp, while user zrzn0111 is
ftp'ing something.

^@^@^@E2^@^G^@^@^@^@'M-^CUM-^Qzrzn0111ftp0ruspool20.r^@G^E^@^G^@^@^@^@'M-^Co
                                         ^ LOOK here !

@^@^@^@F$^@^G^@^@^@^@'M-^ClM-Azrzu0111q4^@^@ttyq4^@^@^@^@^@^@^@FM-
                                        ^ and here !

Ftpd, when initiated by a incoming ftp-session, writes a ftp-entry
in /etc/utmp. But the tty-entry is not terminated by a null-byte, its a
char 0 :)

> finger: /dev/ruspool2: No such file or directory

Finger then wants to read the /etc/utmp und skips the tty-entry cause of
the missing null-byte. Then it tries to make some status-query on the
wrong device.

Its a bug, isnt it ?

		So long, PI

-- 
PI at the User Help Desk Comp.Center U of Stuttgart, FRG       29 Years to go ! 
Phone: +49 711 685-4828                (aka Kurt Jaeger)
SMTP: pi at helpdesk.rus.uni-stuttgart.de (yeah, really 8-)
X.400: pi at rus.uni-stuttgart.de  zrzr0111 at ds0rus54.bitnet



More information about the Comp.sys.sgi mailing list