- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/exports access rights
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
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
08-06-2002 07:48 AM
08-06-2002 07:48 AM
Given this entry. Is it legal syntax?
What is the effect of it?
What is the impact to 1) server2 users 2) user1 and 3) all other users.
/server/directory -rw=server2,user1,access=
Thanks,
Russell
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 08:02 AM
08-06-2002 08:02 AM
Re: /etc/exports access rights
it is not legal.
The option -rw is used to list a server or a list of servers. The list of servers must use the ':' sign as a field delimiter. If you want to restrict write permission to an user or a group of users, then you should use the file permission flags (see chmod(1)).
"access=" should be followed by a hostname or a netgroup or a list of one or the other. There should be no empty list.
See exports(4) for more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 08:05 AM
08-06-2002 08:05 AM
Solution1) The syntax is wrong. The ',' indicator should be used to specify different options only. If you want to specify multiple hostnames with '-rw' then use ':"
/server/directory -rw=server1:server2
2) Server2 will have read-write access and all others will have read-only.
3) There is no option called user1. See man exports for details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 08:11 AM
08-06-2002 08:11 AM
Re: /etc/exports access rights
Thanks for the reply. If you have access to the HP-UX System and Network Administration II class manual. Go to page 9-14 through 9-18. One of the examples they listed was this :
/home -root=hosta, access=
On page 9-18 they reference this:
"access=client[:client] Allows mount to the specified client or clients. A client can either be a host name or a netgroup. Each client in the list is first checked in the netgroup database. "
I am assuming that a host can be a workstation, server or person. Is that correct?
Russell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 08:33 AM
08-06-2002 08:33 AM
Re: /etc/exports access rights
again, a 'host' can be a server and a workstation, BUT not a person! the user level permissions can be set on the file systems/directories and not on the exports.
hth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 08:40 AM
08-06-2002 08:40 AM
Re: /etc/exports access rights
Yes I realized that after I wrote that. It appears from what I am looking at that the "," is strictly for new options. And not for listing restictions down to a specific user. This can be accomplished through netgroups and maybe other ways as well.
Thanks to you and Thomas for helping work though this.
Russell