Re: lastlog is looking strange
Craig Sanders:
> I use ssh on all of my machines, and i use it regularly (instead of rlogin
> and rcp and rsh).
As do I. I'm getting corruption on a machine that only gets logins via
telnet and ssh, and the rare console login.
> I don't get this wtmp corruption on most of these machines. I get a lot
> of corruption on machines which have modems attached and a lot of modem
> logins, a little corruption on machines with only a few modem logins, and
> no corruption on machines with no modems.
>
> i initially suspected the new mgetty 1.1. however, i've just downgraded
> to mgetty 1.0 and the corruption is still happening. So, the modem logins
> may be completely irrelevant.
I don't run mgetty, so I don't think that's it.
> Next on my suspect list is ssltelnet - i remember that weird things
> happened in the utmp (but not wtmp) file just after i first installed
> ssltelnet. i'm going to try reverting to normal telnet for a while and
> see if that makes any difference.
I don't run ssltelnet, so I don't think that's it, either.
However, this might be a more general problem, not tied to one login method.
I only started getting it when I rebooted both my servers two days ago.
Prior to that, no problems.
--
#!/usr/bin/perl -lisubstr($_,39+38*sin++$y/9,2)=$s # joey@kite.ml.org
for($s=' '||McQ;$_='JOEY HESS 'x8;print){eval$^I} # Joey Hess
Reply to: