[13039] in Athena Bugs
Re: decmips 7.7 mkserv remote
daemon@ATHENA.MIT.EDU (Ezra Peisach)
Sat Dec 17 20:30:13 1994
To: hoffmann@MIT.EDU
Cc: bugs@MIT.EDU
Date: Sat, 17 Dec 1994 20:30:07 EST
From: Ezra Peisach <epeisach@MIT.EDU>
If I remember correctly, the serial lines use getty which in turn
exec's login.
Now, the code in login will not allow remote logins if
the hflag, kflag, or a few others exist... What isn't checked is if
pflag is set - i.e. preserve environment. That would be the only hook
to determine if the login was from getty... It is a kludge, but currently
there is no other way.... (short of knowing what is a console vs. serial
line, etc)
Ezra