-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2003-12-31, Suddn <(E-Mail Removed)> wrote:
>
> Example from my /etc/exports file:
>
> /Test 192.168.254.1/255.255.255.0 @TestGroup(rw,no_root_squash,async)
>
> The above line should allow anyone from the 'TestGroup' to access the
> /Test directory. Correct?
Not at all. @TestGroup is an NIS netgroup, *not* a group listed in
/etc/group. So you've specified no options for 192.168.254.1, and a
bunch of options for a nonexistent netgroup. Things probably won't work
the way you want.
> It does not even though the test directory
> looks like:
>
> drwxrwx--- 2 root TestGroup 4096 May 17 2003 Test/
>
> Can anyone please tell me how to allow NFS access to a group on a
> directory while keeping non-group members out?
Just do this:
/Test 192.168.254.1/255.255.255.0(rw,no_root_squash,async)
Of course, if any of your users has a client's root password, they can
easily get around your restrictions (root_squash or no).
You should probably check the logs at both the client and the server,
and if you still have trouble post the relevant entries; otherwise any
troubleshooting is just mindreading.
- --keith
- --
kkeller-(E-Mail Removed)
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/9hwOhVcNCxZ5ID8RAvhvAKCR/+x7a/GGdMDoymMQwwIMH5fWAwCdF8jc
K+8k9MAjVMM9PEmyHpKlC9E=
=pQdZ
-----END PGP SIGNATURE-----