Setup NFS for User to be Root

Assume: we are other user from other linux machine. On target NFS server, admin need to grant a root access permission to us. He should config >

/etc/exports :
/mnt/data *(rw,sync,all_squash,anonuid=0,anongid=0)

For comfortable reason, you should setup /etc/fstab .. >

<target host>:/mnt/data /mnt nfs users,rw 0 0

Reference :

Advertisements

ใส่ความเห็น

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Google+ photo

You are commenting using your Google+ account. Log Out / เปลี่ยนแปลง )

Connecting to %s