Questions asked about security

Andy Peterman andyp at treehouse.UUCP
Sat Dec 29 15:46:07 AEST 1990


In article <1990Dec28.213517.23620 at nada.kth.se> d88-jwa at nada.kth.se (Jon W{tte) writes:
>
>WHen you log on to an A/UX system, and just drop the modem
>(as in, your sister walks in and picks up the phone ;-) you
>get back into the session when you dial again. This is all
>very well for those who were right in the middle of editing
>something, but I consider it a major security hazard.
>
>How do I get the thing to throw out any processes belonging
>to a terminal that drops the carrier ?

Make sure your inittab line which spawns the getty process is using one
of the 'mo_' options for getty, such as:

du:2a:respawn:/etc/getty tty0 mo_2400   #port tty0; set to "respawn"

Then also make sure your modem is indeed dropping the handshake line
when it loses carrier.  One way to test this is to connect to the modem
with 'cu' and then reset the modem (ATZ) which should drop DCD or DSR,
whichever you might be using for carrier detect, and 'cu' should report a 
lost connection.  If this works and you're using an 'mo_' option (which
has the HUPCL hangup flag), then users should be logged out on loss of
carrier.

-- 
Andy Peterman                       |   Opinions expressed
treehouse!andyp at gvgpsa.gvg.tek.com  | are definitely those of
(916) 273-4569                      |      my employer!



More information about the Comp.unix.aux mailing list