Is it possible to give access to a nfs share to a particular
user in a particular system?

Answer Posted / raj

you can give permission to an ip or to the users(The user
should be from the system where the file is getting
shared,external access from users arenot allowed except for
nfsnobody). If you want to give permission to an ip then
open /etc/exports...Let /data be the shared directory:
/data 10.2.1.1(ro,sync)

To give permission to a user like harry:
setfacl -m u:harry:rwx /data.

By default the nfs gets accessed by the user nfsnobody. So
you can add or remove a particular permissions to this user
using acl.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do we use for managing hash table collisions?

649


How to rename a file in linux?

685


Has linux ever been hacked?

641


How do you check the status of all the services?

664


Which field is used to define the user’s default shell?

622


What does ctrl z do in linux?

772


Why do developers use md5 options on passwords?

644


How many types of bond are there in linux?

646


How to enable curl on ubuntu lamp stack?

680


In linux, what names are assigned to the different serial ports?

685


What is a linux process?

690


How to create a new file and modify an existing file in vi editors?

646


Why should you avoid telnet to administer a linux system remotely?

751


How do you avoid deadlock while coding?

662


How do you empty a file in linux?

663