home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!mcsun!sun4nl!fwi.uva.nl!casper
- From: casper@fwi.uva.nl (Casper H.S. Dik)
- Subject: Re: Does yp use a user named `+' with no password?
- Message-ID: <1992Aug20.075239.23169@fwi.uva.nl>
- Sender: news@fwi.uva.nl
- Nntp-Posting-Host: adam.fwi.uva.nl
- Organization: FWI, University of Amsterdam
- References: <DAVE.92Aug20141601@pipi.iis.u-tokyo.ac.jp>
- Distribution: comp
- Date: Thu, 20 Aug 1992 07:52:39 GMT
- Lines: 26
-
- dave@pipi.iis.u-tokyo.ac.jp (David Wuertele) writes:
-
- >I found the user `+' in my /etc/passwd file and it had no password. I
- >inserted a `*' for the password, and within an hour somebody complained
- >that they couldn't log into my computer using yp anymore. I didn't see
- >any reference to this in the man pages. What's up?
-
- The password routines on machine that are able to run NIS use the
- entry `+::0:0:::' to indicate ``and now look in the NIS map''.
-
- The username, uid and gid are always taken from the NIS map. If the password
- entry for + has any of the other fields set, it uses those values
- instead. E.g..
-
- +:*:0:0::: -- everyone from NIS has password ``*''
- +::0:0:::/etc/noshell -- everyone from NIS has shell ``/etc/noshell'',
- (useful on file servers)
-
- There are also entries of the form:
-
- +@netgroup::0:0::: and +user::0:0:::
-
- Casper
- --
- | Casper H.S. Dik
- | casper@fwi.uva.nl
-