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 mtime and ctime in linux?
To implement new application on IBM z/10. Which of the following options need to be considered if it to be implemented in Linux?
Can you get viruses on linux?
What does mutex stand for?
What is the purpose of linux operating system?
Who owns the data dictionary in linux?
Why do hackers use linux?
What is the difference between mutex and critical section?
Which antivirus is used in linux?
What is linux firewall?
Suppose your company is recently switched from microsoft to linux and you have some ms word document to save and work in linux, what will you do?
What is the maximum length for a filename under linux?
What does ctrl z do in linux?
How do you find out all processes that are currently running?
Who owns linux?