GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mount/umount for normal users
Operating System - HP-UX
1846764
Members
5959
Online
110256
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-06-2000 01:14 AM
06-06-2000 01:14 AM
We are using a HP 40T Optical Disk Library with 32 Slot and 2 drives. Up to HP-UX 9.x it was possible to have virtual mounts, means to mount all slots simultaenously.
With HP-UX 10.20 this is not longer possible.
HP says in its DOCUMENT GDA9509115001: "The customer con choose to give users the ability to mount and unmount surfaces as needed. On HP-UX this requires a root login or a setuid-to-root script to access mount/umount commands".
But when setting the setuid-bit for users, the mount command still replys: Must be root to use mount. Does anybody know a solution?
Thank you!
With HP-UX 10.20 this is not longer possible.
HP says in its DOCUMENT GDA9509115001: "The customer con choose to give users the ability to mount and unmount surfaces as needed. On HP-UX this requires a root login or a setuid-to-root script to access mount/umount commands".
But when setting the setuid-bit for users, the mount command still replys: Must be root to use mount. Does anybody know a solution?
Thank you!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2000 01:42 AM
06-06-2000 01:42 AM
Solution
Hi,
you have to use a different mount:
Look in /sbin/fs
there are several subdirectories for different filesystems.
In these subdirs there are mount and umount commands.
Depending on the filesystem on your optical disks make a chown and chmod e. g.:
chown root:root /sbin/fs/hfs/mount
chmod gu+s /sbin/fs/hfs/mount
Now any user can mount with:
/sbin/fs/hfs/mount
Regards
Andrew
you have to use a different mount:
Look in /sbin/fs
there are several subdirectories for different filesystems.
In these subdirs there are mount and umount commands.
Depending on the filesystem on your optical disks make a chown and chmod e. g.:
chown root:root /sbin/fs/hfs/mount
chmod gu+s /sbin/fs/hfs/mount
Now any user can mount with:
/sbin/fs/hfs/mount
Regards
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2000 06:22 AM
06-06-2000 06:22 AM
Re: mount/umount for normal users
Be carefull with this. Thus everyone can mount/umount each filesystem.
Intead of this I use 'sudo'. You can find it from a HP software porting center for free.
With sudo you can specify the commands to be used and arguments to it in order to prevent users to make mistakes (some time fatal).
For example you can limit with sudo users to mount/umount only filesystems on the optical library.
Intead of this I use 'sudo'. You can find it from a HP software porting center for free.
With sudo you can specify the commands to be used and arguments to it in order to prevent users to make mistakes (some time fatal).
For example you can limit with sudo users to mount/umount only filesystems on the optical library.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2000 11:45 AM
06-30-2000 11:45 AM
Re: mount/umount for normal users
Hi,
There is a better way to give a mount command to a user using restricted SAM.
Here is how to do a mount of a cd and should
be able to modify it for all applications of mount/umount. It also works with any root level command that can be limited to a command line like mount.
Perform the following steps to add your custom application and then
giving the privilege to a user to run the application:
1. SAM --> Routine Tasks --> Actions -->
Add Customize Application --> Label: user_mount -->
Command: mount -F cdfs -o cdcase /dev/dsk/c1t0d0 /cdrom
2. Go into restricted sam: sam -r
3. Actions --> Disable All Routine Tasks -->
Select Custom user_mount --> Actions --> Enable
Optional step: Actions --> Templates --> Save -->
Template Name: User_Mount
4. Actions --> Save Privileges --> select your users
There is a better way to give a mount command to a user using restricted SAM.
Here is how to do a mount of a cd and should
be able to modify it for all applications of mount/umount. It also works with any root level command that can be limited to a command line like mount.
Perform the following steps to add your custom application and then
giving the privilege to a user to run the application:
1. SAM --> Routine Tasks --> Actions -->
Add Customize Application --> Label: user_mount -->
Command: mount -F cdfs -o cdcase /dev/dsk/c1t0d0 /cdrom
2. Go into restricted sam: sam -r
3. Actions --> Disable All Routine Tasks -->
Select Custom user_mount --> Actions --> Enable
Optional step: Actions --> Templates --> Save -->
Template Name: User_Mount
4. Actions --> Save Privileges --> select your users
Saving Buyers and Sellers money
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP