[1101] in linux-net channel archive

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

Re: login, telnetd and utmp

daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Thu Sep 14 20:19:47 1995

Date: Thu, 14 Sep 1995 13:12:53 -0400
From: "Theodore Ts'o" <tytso@mit.edu>
To: Marek Michalkiewicz <marekm@i17linuxb.ists.pwr.wroc.pl>
Cc: linux-net@vger.rutgers.edu
In-Reply-To: Marek Michalkiewicz's message of Wed, 13 Sep 1995 17:48:00 +0200 (MET DST),
	<199509131548.RAA07098@i17linuxb.ists.pwr.wroc.pl>

I'm always a big believer in "be convervative in what you send, be
liberal in what you accept."

>- modify login to require a valid utmp entry for the current process
>  (like SysV login does) and don't fill in the ut_addr field

Hence, I think the login program should create a utmp entry if one
doesn't exist.  If telnetd fills it in, then login won't bother; if
we're running with an old version of telnetd that doesn't create a utmp
entry, login will continue to function, although it won't have the speed
benefits of eliminating some DNS lookups.

This allows us to retain all of the speedups which you've proposed,
while still being backwards compatible.

					- Ted

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