LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NFS access control for particular user (https://www.linuxquestions.org/questions/linux-newbie-8/nfs-access-control-for-particular-user-660302/)

basavaraju.sg 08-04-2008 06:04 AM

NFS access control for particular user
 
Hi

I am configuring NFS with RHEL 5 and in /etc/exports configuration file

/home/storage 192.168.1.10 (rw,sync)


but this can be access everyone who log in to that machine ,please anyone
guide me how restrict access only to particular users

TB0ne 08-04-2008 10:11 AM

Quote:

Originally Posted by basavaraju.sg (Post 3236061)
Hi

I am configuring NFS with RHEL 5 and in /etc/exports configuration file

/home/storage 192.168.1.10 (rw,sync)


but this can be access everyone who log in to that machine ,please anyone
guide me how restrict access only to particular users

This link

http://www.cyberciti.biz/faq/how-to-...uration-howto/

should help you. If you want to restrict access to that directory/mount-point where the NFS mount takes place, you'll have to put users into a particular group, and grant that group access to that directory. Everyone else who isn't in the group, will be denied access.

basavaraju.sg 08-05-2008 12:35 AM

Hi TB0ne
Thank u for your help it was work


All times are GMT -5. The time now is 09:05 AM.