<?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: Non root users executing make_recovery in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/non-root-users-executing-make-recovery/m-p/2453555#M11802</link>
    <description>I had the same problem. I hade to write a C routin that used the setuid and setgid funtion calls and then did a system call to run the needed scripts. The c routine has to be owned by root with the s bit set and the w bit removed for security.</description>
    <pubDate>Tue, 17 Oct 2000 17:13:09 GMT</pubDate>
    <dc:creator>Lawrence Mahan</dc:creator>
    <dc:date>2000-10-17T17:13:09Z</dc:date>
    <item>
      <title>Non root users executing make_recovery</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/non-root-users-executing-make-recovery/m-p/2453552#M11799</link>
      <description>I have an OPS staff that does not have root access that I want to create make_recovery tapes. I've given them a menu that invokes a script this is owned by root and has the set_uid bit set.&lt;BR /&gt;Script Permissions are 4750 Owner is root group is root. &lt;BR /&gt;The operator is a member of the root group and can execute the script.&lt;BR /&gt;The command in the script is :&lt;BR /&gt;/opt/ignite/bin/make_recovery -AvC -d /dev/rmt/5mn -b /tmp/uninstalf.recovery&lt;BR /&gt;Failure message are:&lt;BR /&gt;       HP-UX System Recovery&lt;BR /&gt;nftw: Permission denied&lt;BR /&gt;make_recovery(338): Failed on /&lt;BR /&gt;make_recovery(346): failed on /&lt;BR /&gt;       Validating append file&lt;BR /&gt;               Done&lt;BR /&gt;make_recovery(228): make_recovery(1M) encountered a fatal error.&lt;BR /&gt;make_recovery(230): Please fix errors and re-try.&lt;BR /&gt;        Cleanup&lt;BR /&gt;&lt;BR /&gt;Looks like make_recovery programs are ignoring euid of the script. Any suggestions on how to make this work?&lt;BR /&gt;&lt;BR /&gt;HP-UX 11.0 Ignite B.2.4.307&lt;BR /&gt;&lt;BR /&gt;Thanks for your time &amp;amp; help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Oct 2000 20:50:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/non-root-users-executing-make-recovery/m-p/2453552#M11799</guid>
      <dc:creator>Dan Ryan</dc:creator>
      <dc:date>2000-10-13T20:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Non root users executing make_recovery</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/non-root-users-executing-make-recovery/m-p/2453553#M11800</link>
      <description>If the make_recovery subcomponents dig deeper than euid, you will probably have to use Sudo or something similar.</description>
      <pubDate>Fri, 13 Oct 2000 20:54:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/non-root-users-executing-make-recovery/m-p/2453553#M11800</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-10-13T20:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Non root users executing make_recovery</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/non-root-users-executing-make-recovery/m-p/2453554#M11801</link>
      <description>run du / to get the list of subdirs -clean unnecessary data under / and try again. &lt;BR /&gt;</description>
      <pubDate>Fri, 13 Oct 2000 22:17:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/non-root-users-executing-make-recovery/m-p/2453554#M11801</guid>
      <dc:creator>Ian_4</dc:creator>
      <dc:date>2000-10-13T22:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Non root users executing make_recovery</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/non-root-users-executing-make-recovery/m-p/2453555#M11802</link>
      <description>I had the same problem. I hade to write a C routin that used the setuid and setgid funtion calls and then did a system call to run the needed scripts. The c routine has to be owned by root with the s bit set and the w bit removed for security.</description>
      <pubDate>Tue, 17 Oct 2000 17:13:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/non-root-users-executing-make-recovery/m-p/2453555#M11802</guid>
      <dc:creator>Lawrence Mahan</dc:creator>
      <dc:date>2000-10-17T17:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Non root users executing make_recovery</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/non-root-users-executing-make-recovery/m-p/2453556#M11803</link>
      <description>sudo would be a good choice. In addition to running the make_recovery as root, you will get logging of the event, who did it, and when it was done.&lt;BR /&gt;&lt;BR /&gt;The sudoers file can be setup to only allow the make_recovery and can be limited to a certain group of users. They can be setup to do nothing else as root except the make_recovery.</description>
      <pubDate>Tue, 17 Oct 2000 17:20:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/non-root-users-executing-make-recovery/m-p/2453556#M11803</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-10-17T17:20:55Z</dc:date>
    </item>
  </channel>
</rss>

