home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!opl.com!hri.com!spool.mu.edu!agate!stanford.edu!unix!speech.sri.com!greep
- From: greep@Speech.SRI.COM (Steven Tepper)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: Dialin password protection
- Message-ID: <43151@unix.SRI.COM>
- Date: 27 Jan 93 21:06:29 GMT
- References: <1993Jan25.170807.28007@sun1.ruf.uni-freiburg.de> <1993Jan26.175102.22518@pt.com>
- Sender: news@unix.SRI.COM
- Organization: SRI International
- Lines: 18
-
- In article <1993Jan26.175102.22518@pt.com>, rkd@pt.com (Ray Downes) writes:
- |> In article <1993Jan25.170807.28007@sun1.ruf.uni-freiburg.de> kleinren@sun1.ruf.uni-freiburg.de (Rainer Kleinrensing) writes:
- |> >Today we connected a dialin modem to the machine. My question: how do I
- |> >get dialin password protection for the line the modem is connected to?
- |>
- |> I ask the same question here a few months ago, and didn't get any
- |> responses. One way to do this (as you sugested) is to hack login.
- |> Unfortunately, any old login.c won't do, especially if you use secure
- |> NFS.
-
- My solution was to write a replacement for getty. It asks for a local password
- and then calls login, so I don't have to worry about exactly duplicating
- everything that Sun's version of login does. Replacing getty has some other
- advantages. For example, the standard getty is so old it thinks there are
- still upper-case-only terminals, and some users had problems where line noise
- would make getty put the tty in 'stty lcase' mode and they couldn't even log in
- to do 'stty -lcase' because their passwords had mixed case. I didn't include
- any code to handle crufty old terminals, so that isn't a problem any more.
-