How to set password for NFS shares in centos


#1

Hi members,

i have got some doubts in NFS , please help me to clear

I. ) i want to set username and password for NFS share,i tried in terminal like below,its showing error like wrong usage of command, can u tell me whats the mistake i m doing

mount 192.168.1.20:/nfstest /media nfs user=administrator,password=pass

II. ) can u please explain about the no_root_squash option in NFS with some real time example, im getting confused about this

Thanks in advance


#2

for NFS there is no user base authentication. only SAMBA got user athentication