Re: export using network name ... anyone ? Alberto 'JCN-9000' Varesio wrote:
>
> Hi all,
> I'm trying to restrict NFS write access to a single host outside my net,
> while allowing rw access to my local clients.
> Doc say I can export a filesystem read-mostly by providing the rw client
> list using client names or network name.
>
> I can't list all the local clients in the /etc/exports file, but using
> the network name syntax I can tell NFS that I want my network to be
> allowed RW and all the others shold get RO.
>
> I've built my /etc/networks file, but the exportfs command does not
> accept this setting.
>
> Anyone ever tried this successfully ?
>
> Server is AIX 4.3 but 5.1 behaves the same
>
>
> rw = Client [:Client]
> Exports the directory with read-write
> permission to the machines specified by the Client parameter and
> read-only to all others. The Client parameter can be either the host
> name or the network name. If a rw host name is not specified, the
> directory is exported with read-write permission to all.
>
>
In 5.2 it is possible to export a directory read-mostly, and then give
a hostname list of machines with write access. Haven't tried it.
--
Erlo
-----
Remove underscores from mail address.
The statements and opinions are mine and does not
neccesarily reflect those of my employers |