NFS Interview Questions & Answers part 4
Q: – Can we grant access by Username and password for nfs share?
No, access is granted only for IP address.
Q: – Which option is used with exportfs command to display the current export list, also displays the list of export options?
Q: – Which option is used with exportfs command to re-export all directories?
Q: – What is the role of "all_squash" option?
Treat all client users as anonymous users. Map all user and group IDs to the anonymous user and group ID.
It will flush everything out of the kernels export table. Any clients that are active will get new entries added by mountd when they make their next request.
# exportfs -o async 192.168.1.51:/data
Q: – What is the role of "root_squash" option?
All requests from the user root are translated or mapped as if they came from the user anonymous (default).
Submitted By:-Jai Kundu Email-ID: – email@example.com