<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Mount a cdrom without root permissions in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-a-cdrom-without-root-permissions/m-p/4909526#M405897</link>
    <description>sudo is the only solution. The mount command doesn't care about permissions. It requires root privileges to modify the filesystem to include the CD (or any other mountable device).  The mount command checks the user ID.</description>
    <pubDate>Tue, 28 Jun 2005 13:39:29 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2005-06-28T13:39:29Z</dc:date>
    <item>
      <title>Mount a cdrom without root permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-a-cdrom-without-root-permissions/m-p/4909523#M405894</link>
      <description>Hello all, how can I mount the cdrom like a normal user? Without login with root permissions.&lt;BR /&gt;&lt;BR /&gt;HP-UX 11.11&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Frank.&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Jun 2005 09:22:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-a-cdrom-without-root-permissions/m-p/4909523#M405894</guid>
      <dc:creator>Francisco J. Soler</dc:creator>
      <dc:date>2005-06-28T09:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Mount a cdrom without root permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-a-cdrom-without-root-permissions/m-p/4909524#M405895</link>
      <description>Hi Fransisco,&lt;BR /&gt;&lt;BR /&gt;Install and configure sudo.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.8p7/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.8p7/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Tue, 28 Jun 2005 09:26:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-a-cdrom-without-root-permissions/m-p/4909524#M405895</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2005-06-28T09:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Mount a cdrom without root permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-a-cdrom-without-root-permissions/m-p/4909525#M405896</link>
      <description>&lt;BR /&gt;two ways: either execute the mount command using sudo, this is known to work.&lt;BR /&gt;&lt;BR /&gt;second change the ownership of the cdrom device, I am not sure whether mount command will like it</description>
      <pubDate>Tue, 28 Jun 2005 09:29:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-a-cdrom-without-root-permissions/m-p/4909525#M405896</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-06-28T09:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Mount a cdrom without root permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-a-cdrom-without-root-permissions/m-p/4909526#M405897</link>
      <description>sudo is the only solution. The mount command doesn't care about permissions. It requires root privileges to modify the filesystem to include the CD (or any other mountable device).  The mount command checks the user ID.</description>
      <pubDate>Tue, 28 Jun 2005 13:39:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-a-cdrom-without-root-permissions/m-p/4909526#M405897</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-06-28T13:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Mount a cdrom without root permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-a-cdrom-without-root-permissions/m-p/4909527#M405898</link>
      <description>sudo is the tool to use.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.courtsean.com" target="_blank"&gt;http://www.courtsean.com&lt;/A&gt;&lt;BR /&gt;or&lt;BR /&gt;HP with the Internet Express for HPUX 11i v1 or 11i v2&lt;BR /&gt;&lt;A href="http://software.hp.com" target="_blank"&gt;http://software.hp.com&lt;/A&gt; and search for sudo</description>
      <pubDate>Tue, 28 Jun 2005 13:44:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-a-cdrom-without-root-permissions/m-p/4909527#M405898</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-06-28T13:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Mount a cdrom without root permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-a-cdrom-without-root-permissions/m-p/4909528#M405899</link>
      <description>Thanks all for yours suggestions.&lt;BR /&gt;sudo made the trick.&lt;BR /&gt;&lt;BR /&gt;My solution was:&lt;BR /&gt;Install sudo (from depot file), edit the file /etc/sudoers and put this lines (ot6 is the hostname):&lt;BR /&gt;&lt;BR /&gt;-- /etc/sudoers  ---------&lt;BR /&gt;Host_Alias  CDROM = ot6, localhost&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ALL   CDROM = NOPASSWD: /usr/sbin/mount /mnt/cdrom,\&lt;BR /&gt;              /usr/sbin/umount /mnt/cdrom&lt;BR /&gt;--------- end sudoers file -----&lt;BR /&gt;&lt;BR /&gt;in the /etc/fstab file the last line must be:&lt;BR /&gt;&lt;BR /&gt;/dev/dsk/c0t0d0  /mnt/cdrom cdfs ro 0 0&lt;BR /&gt;&lt;BR /&gt;Be sure the directory /mnt/cdrom exists.&lt;BR /&gt;&lt;BR /&gt;Now to mount and umount a cd any user can do:&lt;BR /&gt;&lt;BR /&gt;sudo mount /mnt/cdrom&lt;BR /&gt;sudo umount /mnt/cdrom&lt;BR /&gt;&lt;BR /&gt;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&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Frank.</description>
      <pubDate>Wed, 29 Jun 2005 05:05:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-a-cdrom-without-root-permissions/m-p/4909528#M405899</guid>
      <dc:creator>Francisco J. Soler</dc:creator>
      <dc:date>2005-06-29T05:05:09Z</dc:date>
    </item>
  </channel>
</rss>

