LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 11-17-2007, 03:05 AM   #1
srilinux
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
NFS client : username specific access


Hello friends

I've set up a NFS server. Now, I would like to configure clients so that typical users of a client system only can mount and access the share.
Any suggestions..

Thanks
Srilinux
 
Old 11-18-2007, 11:51 AM   #2
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,263

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
Use the "ro" option in your /etc/exports file.
For example:
Code:
/home/jschiwal/podcasts *.jesnet(ro,root_squash,sync,no_subtree_check)
On the client, you can run "/usr/sbin/showmount --exports to list the exports on the server:
Code:
/usr/sbin/showmount hpmedia --exports
Export list for hpmedia:
/media/La-Cie-bigdisk    *.jesnet
/home/jschiwal/podcasts  *.jesnet
/home/jschiwal/downloads *.jesnet
/home/jschiwal/Documents *.jesnet
There is also a man 5 exports manpage as well as manpages for mount.nfs and fstab.

Some distro's have an nfs server and nfs client gui configuration tool you could use as well.

Last edited by jschiwal; 11-18-2007 at 11:53 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to access nfs exported directories from AIX client Dhananjay Dhane Linux - Networking 2 02-27-2008 09:02 AM
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
nfs client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 04:18 AM
CGI script: username specific hamish Linux - Software 1 01-17-2005 08:00 AM
nfs client should it use tcp or udp to nfs serve rportmapper andersonas Linux - Networking 2 06-30-2004 12:05 PM


All times are GMT -5. The time now is 08:29 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration