- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS share command for user
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
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
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
03-23-2017 07:47 AM
03-23-2017 07:47 AM
NFS share command for user
Hi,
I would like to share FS servers:
server: sophia (HP-UX 11.31)
client: marta (HP-UX 11.31)
SOPHIA / # share -F nfs -o access=marta /adamanut
SOPHIA / #
marta:/:>mount sophia:/adamanut /sophia
nfs mount: sophia:/adamanut: Permission denied
marta:/:>
o would like to mount by user SAG in the marta client
i put the commmand and work, but dont access by user SAG, only root
:SOPHIA / # share -F nfs -o rw=marta /adamanut
Wait
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2017 10:03 PM
03-23-2017 10:03 PM
Re: NFS share command for user
The share command is found in /usr/sbin, the directory reserved for root usage. The share coomand needs access to kernel networking and NFS code, none of which can be run by a non-root user.
This command could be added to the sudo config file for this user. But this gives the user the power to make mistakes as the root user. The better choice is to have the sysadmin setup automount for the selected mount point. That way, it will always be available when needed.
Bill Hassell, sysadmin