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
What is cd linux?
Is linux built on unix?
What is sudo in linux?
Explain how you can view the text file using terminal?
What daemon does the event tracking in linux?
What are the most common linux unix gui interfaces?
You have set quotas for all your users but half of your users are using more space than they have been allotted. Which of the following could be the problem?
What is the path of network (ethx) configuration files
Is freebsd based on linux?
Compare linux with windows?
The hierarchy of a series of directories branching in a user system starts from?
what is partial backup in linux ?
What is grub menu in linux?
Explain about dns table?
What is kali linux used for?