[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2328: rlogind can cause finger to report wrong idle time



Package: netstd
Version: 1.24-1

When rlogind logs you in with no password, no data is read from the
pty that is used until you type your first command.  This means that
the read timestamp on the pty slave from the previous session is left
in place, so that finger &c think you've been idle for a very long
time.

The solution is, I believe, to call utime() on the pty slave at some
appropriate point.

Ian.

PS: There are numerous other utmp problems with the system as a whole.


Reply to: