home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.admin:5938 comp.unix.admin:4761
- Newsgroups: comp.sys.sun.admin,comp.unix.admin
- Path: sparky!uunet!math.fu-berlin.de!informatik.tu-muenchen.de!LRZnews!k2
- From: k2@bl.physik.tu-muenchen.de (Klaus Steinberger)
- Subject: Re: NIS, slave servers and DNS access
- Message-ID: <k2.715070649@woodstock>
- Sender: news@news.lrz-muenchen.de (Mr. News)
- Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
- References: <92241.144541QQ11@LIVERPOOL.AC.UK>
- Date: Sat, 29 Aug 1992 06:44:09 GMT
- Lines: 36
-
- 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.
- There is no mechanism to prevent the clients from this.
-
- >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.
- Yes, just make a entry like this into your /etc/passwd:
- +::::::/etc/noshell
-
- (/etc/noshell could be a program which tells the user why he isn't
- authorized to login, just simple to write such a beast)
-
- I would consider to run real DNS on your machine, instead through
- NIS. If you resolve hostnames through NIS, sendmail will have no chance
- to see if a failure is temporarily, or permanent. So you would get
- delivery failures even in the case of temporarily unreachable nameservers,
- or even when your query times out due to long delay between here and there!
- Also no chance for MX queries, so you are completly lost!
-
- Sincerely,
- Klaus Steinberger
- --
- Klaus Steinberger Beschleunigerlabor der TU und LMU Muenchen
- Phone: (+49 89)3209 4287 Hochschulgelaende
- FAX: (+49 89)3209 4280 D-8046 Garching, Germany
- Internet: Klaus.Steinberger@Physik.Uni-Muenchen.DE
-