[1335] in SIPB_Linux_Development
athena telnetd looking in "wrong" places for utmp/wtmp
daemon@ATHENA.MIT.EDU (Eric Ding)
Thu Jun 27 14:32:34 1996
To: linux-dev@MIT.EDU
Cc: efoo@MIT.EDU, miscinfo@MIT.EDU
Date: Thu, 27 Jun 1996 14:31:44 EDT
From: Eric Ding <ericding@MIT.EDU>
Hi all,
I was having weird problems with wtmp/lastlog/wtmp not being updated, and
couldn't figure out why -- I checked out login, init, etc. Finally, I
stumbled on the Athena telnetd as the culprit.
I have RedHat 3.0.3 rather than Slackware 3.0 installed, and the filesystem
structure seems to differ somewhat. There's no /usr/adm directory, and
utmp and wtmp are in /var/run/utmp and /var/log/wtmp. It seems that
athena's telnetd is looking in /etc/utmp and /usr/adm/wtmp (I'm guessing
from running strings on it). For now, my workaround is
cd /usr
ln -s /var/log adm
cd /etc
ln -s /var/run/utmp utmp
I recall that there was an inconsistency with respect to the aliases file
that messed up sendmail as well, but that simply required editing the
sendmail.cf file; since the paths are actually hardcoded in telnetd, will
there be a separate one compiled for RedHat (or is this FSSTND?) or at
least a note on the workaround put in the linux-athena installation notes?
Eric
--
550 Memorial Drive, Apt. 22B3 ericding@mit.edu
Cambridge, MA 02139-4935 <>< [H] (617) 225-1266
http://web.mit.edu/ericding/www/ [O] (508) 870-0300 x284