Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Erik Persson <erik@ikp.liu.se>
Subject: Re: Why won't netgroups work
Date: 1999/02/27	[thread overview]
Message-ID: <t0aey0dl3q.fsf@oberon.ikp.liu.se> (raw)
In-Reply-To: 7b75s5$4mo$1@news.gov.on.ca

"Richard Abraham" <richard.abraham@mnr.gov.on.ca> 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 <somenetgroup> 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



      reply	other threads:[~1999-02-27  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-26  5:00 Why won't netgroups work Richard Abraham
1999-02-27  5:00 ` Erik Persson [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox