- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mount for non-root users
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
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
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
тАО02-12-2004 01:29 AM
тАО02-12-2004 01:29 AM
mount for non-root users
How can I manage that non-root users can mount?
As a test I chmod the file: mount with 777.
I still get the message: must be root to use mount.
Thanks,
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2004 01:32 AM
тАО02-12-2004 01:32 AM
Re: mount for non-root users
You can setup SUID for this mount command But this is insecure and not recommended.
Second way:
Try using using "sudo" package and give permissions for specific users to mount
Thanks
Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2004 01:38 AM
тАО02-12-2004 01:38 AM
Re: mount for non-root users
Get sudo, then you can grant a user right to run particular command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2004 01:38 AM
тАО02-12-2004 01:38 AM
Re: mount for non-root users
I'm not sure that setuid would even work. Really the only acceptable way is to use sudo
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.7p5/
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2004 01:40 AM
тАО02-12-2004 01:40 AM
Re: mount for non-root users
And just for my understanding:
What is the security hole with SUID??
Cheers........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2004 01:50 AM
тАО02-12-2004 01:50 AM
Re: mount for non-root users
I am not happy if every user can mount a filesystem as he/she wishes. If you make mount SUID, you cannot limit the mount requests to a specific device. Using sudo you can write script to (u)mount a specific device on a specific mount-point. That's acceptable.
By the way: is 'mount' the same file as 'umount' (a hard link)?
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2004 01:54 AM
тАО02-12-2004 01:54 AM
Re: mount for non-root users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2004 01:56 AM
тАО02-12-2004 01:56 AM
Re: mount for non-root users
in Linux one can put options in /etc/fstab.
Reading the replies it seems HP-UX doesn't support these options (like owner, user). Check the man pages.
Greetings from grey-ish Holland,
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2004 03:39 AM
тАО02-13-2004 03:39 AM
Re: mount for non-root users
Several thing that have worked for me.
1. Have the user FTP files to a temporary directory and install for the the temp. directory.
2. Put a samba share out for a temp directory. Have the user drag and drop the files from their PC to the temp directory.
Advantage is:
1. We have a large tmp directory called /usr/tmpi.(same perms a /tmp) We manage via cron by deleteing files that are more than 2 months old.
2. The user worries about permissions and access. I don't have to edit sudo adding and subtracting application users.