- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mount a cdrom without root permissions
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
06-28-2005 02:22 AM
06-28-2005 02:22 AM
HP-UX 11.11
Thanks.
Frank.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 02:26 AM
06-28-2005 02:26 AM
SolutionInstall and configure sudo.
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.8p7/
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 02:29 AM
06-28-2005 02:29 AM
Re: Mount a cdrom without root permissions
two ways: either execute the mount command using sudo, this is known to work.
second change the ownership of the cdrom device, I am not sure whether mount command will like it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 06:39 AM
06-28-2005 06:39 AM
Re: Mount a cdrom without root permissions
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 06:44 AM
06-28-2005 06:44 AM
Re: Mount a cdrom without root permissions
http://www.courtsean.com
or
HP with the Internet Express for HPUX 11i v1 or 11i v2
http://software.hp.com and search for sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 10:05 PM
06-28-2005 10:05 PM
Re: Mount a cdrom without root permissions
sudo made the trick.
My solution was:
Install sudo (from depot file), edit the file /etc/sudoers and put this lines (ot6 is the hostname):
-- /etc/sudoers ---------
Host_Alias CDROM = ot6, localhost
ALL CDROM = NOPASSWD: /usr/sbin/mount /mnt/cdrom,\
/usr/sbin/umount /mnt/cdrom
--------- end sudoers file -----
in the /etc/fstab file the last line must be:
/dev/dsk/c0t0d0 /mnt/cdrom cdfs ro 0 0
Be sure the directory /mnt/cdrom exists.
Now to mount and umount a cd any user can do:
sudo mount /mnt/cdrom
sudo umount /mnt/cdrom
I have put a link in /usr/local/bin/mount and /usr/local/bin/umount pointing to /usr/sbin/mount and /usr/sbin/umount. Another way could be add /usr/sbin to the user's path
Frank.