From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,aeae47ed873de8d2 X-Google-Attributes: gidfee84,public From: Erik Persson Subject: Re: Why won't netgroups work Date: 1999/02/27 Message-ID: #1/1 X-Deja-AN: 449272353 Content-Transfer-Encoding: 8bit Sender: erik@oberon.ikp.liu.se References: <7b75s5$4mo$1@news.gov.on.ca> Content-Type: text/plain; charset=iso-8859-1 Organization: IKP - Link�ping University Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 "Richard Abraham" writes: > Dear List: > > I am trying to implement netgroups on my system. I set them up > according to the manual page. Reference them in my .rhosts > files and /etc/exports according to the man page and they seem > to have no effect. > > Am I missing something. If anyone knows please let me know. > > Thanks. > > Richard Abraham Is your netgroup database in NIS? I am not sure if this is true for Digital Unix, but on at least Solaris there is no file backend for the netgroup service, so just having a /etc/netgroup file won't do you any good. I haven't verified this on DU, so don't take my word for it. Is the netgroup source file in the correct format? RTFM netgroup(4). For a negroup tuple just mathing users and having wildcard for hosts and NIS domains this looks like: foousers (,luser1,) (,luser2,) and for hosts conversely: foohosts (host1,,) (host2,,) To be sure, use fully qualified domain names when specifying hosts. Does the negroup map get built when you issue a make in /var/yp on the NIS server? Can you read the NIS netgroup file on the systems that you would like to use it? 'ypcat -k netgroup' or 'ypmatch netgroup'. Is /etc/svc.conf set up properly? For netgroups over NIS it should read: netgroup=yp Are the files that are referring to netgroups set up correctly: .rhosts (should be mode 400 or 600): +@foousers exports: /export/foodir -access=foohosts Good luck, /Erik -- Erik Persson, System Manager e-mail: erik@ikp.liu.se Dept. of Mech. Engineering Voice: +46 13 28 2464 University of Link�ping, Sweden Fax: +46 13 28 2717