home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sun / admin / 10829 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.6 KB

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