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
How can you append one file to another in linux?
How do you find who is logged in?
What feature stateless linux server offers?
Explain regular expressions?
Name two forms of security.
Which is the default shell in linux?
Does ios use linux kernel?
How do you kill program using one port in Linux?
What is pthread_mutex?
What is console linux?
Is linux mint free?
Do I need antivirus for linux mint?
Explain how to uninstall the libraries in linux?
What is critical section linux?
How do you refer to the parallel port where devices such as printers are connected?