suppress log in
Gert Doering (gert@greenie.muc.de)
Mon, 30 Oct 1995 11:41:04 +0100
Hi,
john hill wrote:
> is there a way to suppress the login prompt mgetty has and go straight to the
> external login program?
Yes, with tricks. #define ENV_TTYPROMPT in policy.h. It isn't meant for
that, but should work fine.
[..]
> It would also be REAL good if there were a way to 'capture' the connection
> info and pass it on to the doorway program..
Hmmm. On Linux, it is put into the ut_host field of the utmp entry (so
that "who" can display it). On other systems, you need to grab the last
line of the mgetty log file, and parse it for "connect='...'".
gert
--
//www.muc.de/~gert
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-3545980 <---new!!! gert.doering@physik.tu-muenchen.de