- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- umount nfs filesystem as user, not root
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
03-11-2003 04:14 AM
03-11-2003 04:14 AM
"nfs umount: main: not super user"
The script, I wrote, belongs root and a group where the user is member. The script has the permission 4755 (rwsr-xr-x). How can I make to umount work?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2003 04:33 AM
03-11-2003 04:33 AM
Re: umount nfs filesystem as user, not root
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2003 04:37 AM
03-11-2003 04:37 AM
Re: umount nfs filesystem as user, not root
1) Restricted sam (sam -r) to set up.
Add umount to the user's command set.
2) Use sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2003 05:06 AM
03-11-2003 05:06 AM
Re: umount nfs filesystem as user, not root
thanks
Where can I find the user's command set in SAM ?
What do you mean with "Use sudo" ?
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2003 05:14 AM
03-11-2003 05:14 AM
SolutionAdding New Functionality to SAM
You can easily add stand-alone commands, programs, and scripts to SAM.
SAM is suspended while the executable program is running. When it
finishes, the SAM interface is restored. You can also write your own
help screen for each menu item you create. To add functionality to
SAM, select the "Add Custom Menu Item" or "Add Custom Menu Group"
action items from the SAM Areas menu. (Note that the new item is
added to the hierarchy that is currently displayed, so you need to
navigate to the desired hierarchy before adding the item.)
Restricted SAM
SAM can be configured to provide a subset of its functionality to
certain users or groups of users. It can also be used to build a
template file for assigning SAM access restrictions on multiple
systems. This is done through the Restricted SAM Builder. System
administrators access the Restricted SAM Builder by invoking SAM with
the -r option (see "Options" above). In the Builder, system
administrators may assign subsets of SAM functionality on a per-user
or per-group basis. Once set up, the -f option (see "Options" above)
can then be used by system administrators to verify that the
appropriate SAM functional areas, and only those areas, are available
to the specified user.
A nonroot user that has been given Restricted SAM privileges simply
executes /usr/sbin/sam and sees only those areas the user is
privileged to access. For security reasons, the "List" and "Shell
Escape" choices are not provided. (Note that some SAM functional
areas require the user to be promoted to root in order to execute
successfully. SAM does this automatically as needed.)
SAM provides a default set of SAM functional areas that the system
administrator can assign to other users. Of course, system
administrators are able to assign custom lists of SAM functional areas
to users as necessary.
Sudo is a program that allows non-root users to execute certain commands with root privileges. You can find it at the porting and archive center:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.6/
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2003 05:52 AM
03-11-2003 05:52 AM
Re: umount nfs filesystem as user, not root
BTW, beginning with 11.22 the suid feature is disabled for scripts by default. For security reasons, kernel tunable secure_sid_scripts is 1.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2003 07:33 AM
03-11-2003 07:33 AM
Re: umount nfs filesystem as user, not root
the "#!/usr/bin/sh" has been set, that wasn't the fault.
Dear Pete,
thanks for your information! With restricted SAM it works like expected!
Thanx for your help!
Michael