[Ilugc] Re:Is there a way to make nfs partition transparent

  • From: egrpbala@xxxxxxxxx (Bala)
  • Date: Mon, 14 Oct 2002 00:04:14 -0700 (PDT)

Hi,
   Thanks Raj and Prabhu for your speedy reply,
It works with the no_root_squash option, later
I may need to think about security.

bala.


--- Prabhu Ramachandran <prabhu@xxxxxxxxxxxxxxxxxx>
wrote:

"Bala" == egrpbala  <Bala> writes:

    Bala> Hi All, Is there any way to make nfs mount
transparent to
    Bala> the local system, ie) I have a user(same
UID) in nfsserver
    Bala> and client machines, as a user I can
create a file and
    Bala> change the file access permissions in the
nfs partition, but
    Bala> as a root I can't change anything in the
nfs mounted
    Bala> partition.
 
    Bala>      In nfserver my export file is,
 
    Bala>  # cat /etc/exports /usr/local/nfstest
192.168.0.247(rw)

By default (for security), root on the client
machine cannot write to
a remotely mounted NFS share.  To allow root to
write add a
no_root_squash option to the servers /etc/exports
file like so:

/usr/local/nfstest 192.168.0.247(rw,no_root_squash) 

For more details read the man page for exports (man
exports).

cheers,
prabhu


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

Other related posts: