home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.admin:5919 comp.unix.admin:4739
- Newsgroups: comp.sys.sun.admin,comp.unix.admin
- Path: sparky!uunet!mcsun!sun4nl!fwi.uva.nl!casper
- From: casper@fwi.uva.nl (Casper H.S. Dik)
- Subject: Re: NIS, slave servers and DNS access
- Message-ID: <1992Aug28.163833.28635@fwi.uva.nl>
- Sender: news@fwi.uva.nl
- Nntp-Posting-Host: adam.fwi.uva.nl
- Organization: FWI, University of Amsterdam
- References: <92241.144541QQ11@LIVERPOOL.AC.UK>
- Date: Fri, 28 Aug 1992 16:38:33 GMT
- Lines: 41
-
- QQ11@LIVERPOOL.AC.UK (Alan Thew) writes:
-
- >I have a machine that requires DNS access which normally means running
- >NIS (yes I know it can be done without NIS but that's not possible in my
- >case). The machine will be a mail hub.
-
- >I would like to know if I can do 2 things:
- >1) prevent NIS clients from binding to my slave 'server' (I need to be a
- > slave server to make it more robust since if I am just a client and the
- > server on my subnet goes down (happened before), my machine will go
- > AWOL :-( -- no other servers on my subnet currently) and impacting
- > performance.
-
- You can't prevent clients from binding to a server. You can prevent them
- from getting data from your server with the NIS security patch, but that
- would render the clients useless. We don't see much load from NIS.
- You can try to give that machine a different NIS domain, but with the
- same maps as the global NIS domain. That will prevent the clients
- from binding. Getting the maps from the server will be a bit more
- difficult in such a case, I think. You can have the NIS master
- server both domains and `yppush -d <yourdomain>', I would think.
- Never tried that, though.
-
- >2) Can I take the password maps and somehow disable the passwords so that I
- > have a list of usernames but they cannot logon to the mail hub.
-
- Disable passwords:
-
- +:*:0:0:::
-
- But better is a different login shell (.rhosts and all that):
-
- +::0:0:::/etc/nologin
-
- Both lines can be used as last line of /etc/passwd (see passwd(5) for
- a more detailed discussion).
-
- Casper
- --
- | Casper H.S. Dik
- | casper@fwi.uva.nl
-