<?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 mount/umount for normal users in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-umount-for-normal-users/m-p/2425005#M938</link>
    <description>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.&lt;BR /&gt;With HP-UX 10.20 this is not longer possible.&lt;BR /&gt; 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". &lt;BR /&gt;But when setting the setuid-bit for users, the mount command still replys: Must be root to use mount. Does anybody know a solution?&lt;BR /&gt;Thank you!</description>
    <pubDate>Tue, 06 Jun 2000 08:14:26 GMT</pubDate>
    <dc:creator>igi</dc:creator>
    <dc:date>2000-06-06T08:14:26Z</dc:date>
    <item>
      <title>mount/umount for normal users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-umount-for-normal-users/m-p/2425005#M938</link>
      <description>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.&lt;BR /&gt;With HP-UX 10.20 this is not longer possible.&lt;BR /&gt; 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". &lt;BR /&gt;But when setting the setuid-bit for users, the mount command still replys: Must be root to use mount. Does anybody know a solution?&lt;BR /&gt;Thank you!</description>
      <pubDate>Tue, 06 Jun 2000 08:14:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-umount-for-normal-users/m-p/2425005#M938</guid>
      <dc:creator>igi</dc:creator>
      <dc:date>2000-06-06T08:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: mount/umount for normal users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-umount-for-normal-users/m-p/2425006#M939</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you have to use a different mount:&lt;BR /&gt;Look in /sbin/fs&lt;BR /&gt;there are several subdirectories for different filesystems.&lt;BR /&gt;In these subdirs there are mount and umount commands.&lt;BR /&gt;Depending on the filesystem on your optical disks make a chown and chmod e. g.:&lt;BR /&gt;chown root:root /sbin/fs/hfs/mount&lt;BR /&gt;chmod gu+s /sbin/fs/hfs/mount&lt;BR /&gt;Now any user can mount with:&lt;BR /&gt;/sbin/fs/hfs/mount &lt;DEVICE&gt; &lt;MOUNT point=""&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Andrew&lt;/MOUNT&gt;&lt;/DEVICE&gt;</description>
      <pubDate>Tue, 06 Jun 2000 08:42:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-umount-for-normal-users/m-p/2425006#M939</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-06-06T08:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: mount/umount for normal users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-umount-for-normal-users/m-p/2425007#M940</link>
      <description>Be carefull with this. Thus everyone can mount/umount each filesystem. &lt;BR /&gt;Intead of this I use 'sudo'. You can find it from a HP software porting center for free.&lt;BR /&gt;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).&lt;BR /&gt;For example you can limit with sudo users to mount/umount only filesystems on the optical library.</description>
      <pubDate>Tue, 06 Jun 2000 13:22:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-umount-for-normal-users/m-p/2425007#M940</guid>
      <dc:creator>Rumen Ginev</dc:creator>
      <dc:date>2000-06-06T13:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: mount/umount for normal users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-umount-for-normal-users/m-p/2425008#M941</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There is a better way to give a mount command to a user using restricted SAM.&lt;BR /&gt;&lt;BR /&gt;Here is how to do a mount of a cd and should&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Perform the following steps to add your custom application and then&lt;BR /&gt;giving the privilege to a user to run the application:&lt;BR /&gt;&lt;BR /&gt;     1. SAM --&amp;gt; Routine Tasks --&amp;gt; Actions --&amp;gt;&lt;BR /&gt;          Add Customize Application --&amp;gt; Label:  user_mount --&amp;gt;&lt;BR /&gt;&lt;BR /&gt;        Command: mount -F cdfs -o cdcase /dev/dsk/c1t0d0 /cdrom&lt;BR /&gt;&lt;BR /&gt;     2. Go into restricted sam: sam -r&lt;BR /&gt;&lt;BR /&gt;     3. Actions --&amp;gt; Disable All Routine Tasks --&amp;gt;&lt;BR /&gt;          Select Custom user_mount --&amp;gt; Actions --&amp;gt; Enable&lt;BR /&gt;&lt;BR /&gt;        Optional step:  Actions --&amp;gt; Templates --&amp;gt; Save --&amp;gt;&lt;BR /&gt;          Template Name:  User_Mount&lt;BR /&gt;&lt;BR /&gt;     4. Actions --&amp;gt; Save Privileges --&amp;gt;  select your users&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jun 2000 18:45:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-umount-for-normal-users/m-p/2425008#M941</guid>
      <dc:creator>Tom Wittenberg_1</dc:creator>
      <dc:date>2000-06-30T18:45:30Z</dc:date>
    </item>
  </channel>
</rss>

