- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS access
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 05:26 AM
06-20-2004 05:26 AM
NFS access
Suppose, I have two hp-ux server ( SRV1 and SRV2 ).
On SRV1 server , I have exported folder /share as rw , and given access to SRV2.
/share -rw,access=SRV2
From SRV2 server I have mounted this /share folder on /mynfs.
mount -F nfs SRV1:/share /mynfs
Suppose I have a user1, user2,..usern on SRV2 server .Now I need to give access /mynfs to user1 and user2 only.
How shall do this configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 05:57 AM
06-20-2004 05:57 AM
Re: NFS access
'exportfs' doesn't have any option to specify individual users (except root). So, if there are directories belonging to usern in that filesystem, then they will be accessable to usern on the NFS client (SRV2) if usern exists on it. Either you have to export only those directories that belong to user1 and user2 or manage the permissions on /share on such that others will not have access to it.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 02:01 PM
06-20-2004 02:01 PM
Re: NFS access
The only way to do is to manage your permissions rule or access rules accordingly on the NFS server prior to exporting it .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 02:35 PM
06-20-2004 02:35 PM
Re: NFS access
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 09:54 PM
06-21-2004 09:54 PM
Re: NFS access
The worse way is use CIFS/SAMBA package instead of nfs, becasuse it is a little bit difficult and time consumig to install and configure this package and also reliability and performance is less then NFS V3 (I guess it is like NFS V2 ;-).
On SVR1 you have to install samba server and on SVR2 the client and after some configuration steps (smb.conf) on sever side, you will be able to restrict privileges on mounted disk for example on certain group only, simply you can add following into your fstab:
//svr1/share /mynfs smbfs fmask=777,dmask=777,gid=1001,username=xxx,password=yyy,workgroup=zzz 0 0
br Jan