From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,186cb1a84c72f016 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-08-01 03:35:17 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!uni-erlangen.de!fu-berlin.de!server1.netnews.ja.net!aberdeen-4.!server6.netnews.ja.net!server4.netnews.ja.net!jura.cc.ic.ac.uk!not-for-mail From: "Jeff Wilson" Newsgroups: comp.unix.tru64 Subject: Re: NIS and passwd access restriction Date: Wed, 1 Aug 2001 11:33:39 +0100 Organization: Imperial College, London, UK Message-ID: <9k8lu4$j5b$1@jura.cc.ic.ac.uk> References: <9k3bot$dl2$1@muguet.sncf.fr> <3B66EAA0.26EDFD77@Compaq.com> NNTP-Posting-Host: leicester.cc.ic.ac.uk X-Trace: jura.cc.ic.ac.uk 996662020 19627 155.198.62.213 (1 Aug 2001 10:33:40 GMT) X-Complaints-To: usenet@jura.cc.ic.ac.uk NNTP-Posting-Date: 1 Aug 2001 10:33:40 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Xref: archiver1.google.com comp.unix.tru64:4007 You can make the response a little more user friendly, with the positive method and a message file. In the /etc/passwd file add a line for each user allowed logon access, "+username:", and add a line like "+::::::/usr/local/etc/message" pointing to a text file which just echos a nice message. -- Jeff Wilson "Ann Majeske" wrote in message news:3B66EAA0.26EDFD77@Compaq.com... | Jerome Bellet wrote: | > | > I have an NIS server and several clients sharing the same domain. | > On a few clients I'd like to forbid access to some users (whose entries are | > in the passwd map). | > | > Unfortunately NIS does not support herarchical domains (contrary to NIS+). | > | > Does anybody have any suggestion ? | > | > TIA, Jerome | | In the local /etc/passwd file put an entry | -username | to restrict that user from logging in to the | local system. This is documented in the | Security guide. I found it in the V4.0 | Security guide in | "Table 9-1: NIS passwd File Overrides" | This moved around in subsequent versions | of the Security guide, but it's still there | | Ann