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 Samba? Why is it used?
What does the immutable bit do to a file?
What is ssh? How to connect to a remote server via ssh?
What is kernel parameters?
How do I search for a specific word in vi linux?
Which linux is closest to mac?
How do I enable linux on windows?
Does the alt+ctrl+del key combination work in linux?
What does echo do in linux?
What is the main difference between yum & rpm?
Are drives such as hard drive and floppy drives represented with drive letters?
What is a regular file in linux?
What would you use to edit contents of the file?
What is Synchronization? What is Mutex? Explain the Reader Writer Problem
What is yum in linux?