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 do I know if wget is installed on linux?
Is linux important to learn?
Is arch linux free?
mount -r is used to mount a file in read only mode. State Whether True or False?
what are the different types of ftp servers in linux operating system?
What is the scripting language used in linux operating systems?
What is the advantage of linux over windows?
How to stop a process running in linux?
Which is the most stable linux distro?
What are different types of linux?
Why samba is used?
What does ps do?
What is mutex and semaphore?
How shadow passwords are given by in linux?
What is meant by sticky bit?