[3978] in testers

home help back first fref pref prev next nref lref last post

Re: [Super-User] cron /usr/sbin/chkutent

daemon@ATHENA.MIT.EDU (Robert A Basch)
Thu Apr 22 11:20:46 1999

To: Dan Winship <danw@MIT.EDU>
Cc: testers@MIT.EDU, rbasch@MIT.EDU
In-Reply-To: Message from Dan Winship <danw@MIT.EDU> 
   of "Thu, 22 Apr 1999 00:06:00 EDT." <199904220406.EAA390596@antharia.mit.edu> 
Date: Thu, 22 Apr 1999 11:20:21 -0400
From: Robert A Basch <rbasch@MIT.EDU>

> utmpx fix - danw ttyq1 klq1 -20699 - see chkutent(1M)
> utmpx fix - danw ttyq2 klq2 -20309 - see chkutent(1M)

This indicates chkutent thinks the entry is stale, i.e. the pid is no
longer valid.  I believe the number in the report is the pid, and
so points at the problem -- note the numbers are negative.

From a glance at the source, it looks like telnetd is setting the
utmpx pid field, which is a long, from the utmp pid field, which is a
short, thus truncating/sign-extending the value.

Bob

home help back first fref pref prev next nref lref last post