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


Please Help Members By Posting Answers For Below Questions

What is cd linux?

412


Is linux built on unix?

468


What is sudo in linux?

517


Explain how you can view the text file using terminal?

479


What daemon does the event tracking in linux?

497






What are the most common linux unix gui interfaces?

452


You have set quotas for all your users but half of your users are using more space than they have been allotted. Which of the following could be the problem?

490


What is the path of network (ethx) configuration files

490


Is freebsd based on linux?

445


Compare linux with windows?

473


The hierarchy of a series of directories branching in a user system starts from?

532


what is partial backup in linux ?

438


What is grub menu in linux?

474


Explain about dns table?

548


What is kali linux used for?

453