[lug] Re: Unauthorized Portmap Connection

Scott A. Herod herod at interact-tv.com
Tue Dec 12 09:46:09 MST 2000


SoloCDM wrote:
> 
> "D. Stimits" stated the following:
> >
> > There are also options to disallow root access to NFS mounted
> > partitions. If you must use NFS, disallow root.
> 
> Does anyone remember right offhand how those options were written?
> 

Check /var/lib/nfs/xtab ( at least with RH ).  There you should
see something like:

/usr/local/release   machine.at.mydomain(rw, .... )

where  .... are a lot of options.  I believe that the one you want
is "root_squash".  You also need to specify anonuid and anongid for 
this to work correctly.  Check "man nfs" for details.




More information about the LUG mailing list