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 pthread_mutex_t in c?
Explain virtual desktop.
How many types of files are there in linux?
How do I start linux?
Is it difficult to learn linux?
how do you list and flush all ip tables in linux?
Name a service that you should disable (which acts both as web and ftp server) on a linux server?
What are the main difference between nfs and samba servers?
How do I get to a command prompt in linux?
What is sem_post?
What is the basic difference between bash and dos?
What is the maximum length for a file name in Linux?
What is sudo in linux?
What is bash shell?
How do I check hard drive space on linux?