home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / admin / 4609 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.4 KB  |  40 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!mcsun!sun4nl!fwi.uva.nl!casper
  3. From: casper@fwi.uva.nl (Casper H.S. Dik)
  4. Subject: Re: Does yp use a user named `+' with no password?
  5. Message-ID: <1992Aug20.075239.23169@fwi.uva.nl>
  6. Sender: news@fwi.uva.nl
  7. Nntp-Posting-Host: adam.fwi.uva.nl
  8. Organization: FWI, University of Amsterdam
  9. References: <DAVE.92Aug20141601@pipi.iis.u-tokyo.ac.jp>
  10. Distribution: comp
  11. Date: Thu, 20 Aug 1992 07:52:39 GMT
  12. Lines: 26
  13.  
  14. dave@pipi.iis.u-tokyo.ac.jp (David Wuertele) writes:
  15.  
  16. >I found the user `+' in my /etc/passwd file and it had no password.  I
  17. >inserted a `*' for the password, and within an hour somebody complained
  18. >that they couldn't log into my computer using yp anymore.  I didn't see
  19. >any reference to this in the man pages.  What's up?
  20.  
  21. The password routines on machine that are able to run NIS use the
  22. entry `+::0:0:::' to indicate ``and now look in the NIS map''.
  23.  
  24. The username, uid and gid are always taken from the NIS map. If the password
  25. entry for + has any of the other fields set, it uses those values
  26. instead. E.g..
  27.  
  28. +:*:0:0:::             -- everyone from NIS has password ``*''
  29. +::0:0:::/etc/noshell    -- everyone from NIS has shell ``/etc/noshell'',
  30.                             (useful on file servers)
  31.  
  32. There are also entries of the form:
  33.  
  34. +@netgroup::0:0::: and +user::0:0:::
  35.  
  36. Casper
  37. -- 
  38.                         |    Casper H.S. Dik
  39.                         |    casper@fwi.uva.nl
  40.