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

When you create a new partition, you need to designate its size by defining the starting and ending?

650


Is linux free to use?

633


What does ps do?

627


What is linux and how do you use it?

625


Is arch linux hard to use?

608


Is it legal to edit the linux kernel?

653


What is synchronization linux?

639


Explain how you can find a file using terminal?

617


What is the alternative method to a gui installation in linux?

834


How many types of bond are there in linux?

627


How to enable acls for /home partition?

677


What we have to do if we do required to rotate logs without moving and creating new log file

700


How do you refer to the parallel port where devices such as printers are connected?

776


What are the kinds of permissions under linux?

688


How do you check resources usage?

626