home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / admin / 5940 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.6 KB

  1. Xref: sparky comp.sys.sun.admin:5940 comp.unix.admin:4764
  2. Newsgroups: comp.sys.sun.admin,comp.unix.admin
  3. Path: sparky!uunet!pipex!warwick!cudcv
  4. From: cudcv@warwick.ac.uk (Rob McMahon)
  5. Subject: Re: NIS, slave servers and DNS access
  6. Message-ID: <69rpbtkg@csv.warwick.ac.uk>
  7. Sender: news@csv.warwick.ac.uk (Network news)
  8. Nntp-Posting-Host: shark
  9. Organization: Computing Services, Warwick University, UK
  10. References: <92241.144541QQ11@LIVERPOOL.AC.UK>
  11.     <1992Aug28.163833.28635@fwi.uva.nl>
  12. Date: Sat, 29 Aug 1992 14:48:01 GMT
  13. Lines: 37
  14.  
  15. In article <1992Aug28.163833.28635@fwi.uva.nl> casper@fwi.uva.nl (Casper H.S.
  16. Dik) writes: 
  17. >You can't prevent clients from binding to a server.
  18.  
  19. True, but you can talk to them nicely and ask them to use a different one.  I
  20. routinely have
  21.  
  22.     /usr/etc/yp/ypset 127.1
  23.  
  24. after the ypbind in /etc/rc.local, to save queries going over the network.
  25. You need to use the `-ypsetme' option on ypbind, which shouts a bit about
  26. being insecure.  (Just how insecure is this ?  It seems to me that since
  27. ypbind will only accept ypset requests from root, and will only bind to a
  28. server running as root, this doesn't decrease security much, if at all.)
  29.  
  30. >Disable passwords:
  31. >
  32. >+:*:0:0:::
  33. >
  34. >But better is a different login shell (.rhosts and all that):
  35. >
  36. >+::0:0:::/etc/nologin
  37.  
  38. I always use
  39.  
  40. +:*:10:10:::/bin/false
  41.  
  42. the 10's are there out of paranoia, I can envisage some nasty accidents using
  43. `0'. 
  44.  
  45. Cheers,
  46.  
  47. Rob
  48. -- 
  49. UUCP:   ...!mcsun!uknet!warwick!cudcv    PHONE:  +44 203 523037
  50. JANET:  cudcv@uk.ac.warwick             INET:   cudcv@warwick.ac.uk
  51. Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England
  52.