<?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 execute as root? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-as-root/m-p/2467474#M15950</link>
    <description>How can I set a shell script to execute as root by another user. I don't want the user to be able to modify the script.</description>
    <pubDate>Mon, 27 Nov 2000 14:06:57 GMT</pubDate>
    <dc:creator>Joseph Hoh</dc:creator>
    <dc:date>2000-11-27T14:06:57Z</dc:date>
    <item>
      <title>execute as root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-as-root/m-p/2467474#M15950</link>
      <description>How can I set a shell script to execute as root by another user. I don't want the user to be able to modify the script.</description>
      <pubDate>Mon, 27 Nov 2000 14:06:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-as-root/m-p/2467474#M15950</guid>
      <dc:creator>Joseph Hoh</dc:creator>
      <dc:date>2000-11-27T14:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: execute as root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-as-root/m-p/2467475#M15951</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You should use "sudo".&lt;BR /&gt;&lt;BR /&gt;You can doawnload it from :&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/" target="_blank"&gt;http://hpux.cs.utah.edu/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Patrice.</description>
      <pubDate>Mon, 27 Nov 2000 14:16:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-as-root/m-p/2467475#M15951</guid>
      <dc:creator>MARTINACHE</dc:creator>
      <dc:date>2000-11-27T14:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: execute as root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-as-root/m-p/2467476#M15952</link>
      <description>There's a shareware called 'sudo'.  This package determines which users have the privilege to operate as su. I believe HP does not support this utility.&lt;BR /&gt;&lt;BR /&gt;You can find 'sudo' at the following web site:&lt;BR /&gt; &lt;A href="http://hpux.cs.utah.edu/" target="_blank"&gt;http://hpux.cs.utah.edu/&lt;/A&gt;&lt;BR /&gt;Once you access the site:&lt;BR /&gt;&lt;BR /&gt;1. Type 'sudo' in the 'Package Search:' field.&lt;BR /&gt;2. Click the 'Search' button.&lt;BR /&gt;3.Click the 'sudo-1.5.6p5' link for more information.</description>
      <pubDate>Mon, 27 Nov 2000 14:17:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-as-root/m-p/2467476#M15952</guid>
      <dc:creator>f. halili</dc:creator>
      <dc:date>2000-11-27T14:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: execute as root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-as-root/m-p/2467477#M15953</link>
      <description>Hi Jeff, &lt;BR /&gt;&lt;BR /&gt;A solution would be to use 'SUDO' that you can freely download at the following address: &lt;BR /&gt;&lt;A href="http://www.courtesan.com/sudo/sudo.html" target="_blank"&gt;http://www.courtesan.com/sudo/sudo.html&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;This utility allows you do define 'who' may run 'what' and under which usedid. It's quite powerful. &lt;BR /&gt;&lt;BR /&gt;Best regards, &lt;BR /&gt;&lt;BR /&gt;Dan &lt;BR /&gt;</description>
      <pubDate>Mon, 27 Nov 2000 14:21:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-as-root/m-p/2467477#M15953</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2000-11-27T14:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: execute as root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-as-root/m-p/2467478#M15954</link>
      <description>you should use the Set owner id.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;let 's suppose we have two files&lt;BR /&gt;-rwsr-xr-x root  group1  stick_file ( chmod 4755 stick_file) &lt;BR /&gt;-rwxr--r-- root  group1   teststick&lt;BR /&gt;&lt;BR /&gt;the file stick_file is like this:&lt;BR /&gt;############################&lt;BR /&gt;#! /usr/bin/ksh&lt;BR /&gt;echo 'who am i : \c"&lt;BR /&gt;whoami&lt;BR /&gt;./teststick&lt;BR /&gt;############################&lt;BR /&gt;teststick is:&lt;BR /&gt;##################&lt;BR /&gt;echo TEST&lt;BR /&gt;##################&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and this command will be executed as root whatever user i use to run stick_file ( see this file permissions ).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i hope this helps&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Federico&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Nov 2000 14:25:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-as-root/m-p/2467478#M15954</guid>
      <dc:creator>federico_3</dc:creator>
      <dc:date>2000-11-27T14:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: execute as root?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/execute-as-root/m-p/2467479#M15955</link>
      <description>Using sudo will accomplish this and keep a log of the activity done as the sudo-root user. &lt;BR /&gt;&lt;BR /&gt;The log will enable you to keep track of who did what and when.</description>
      <pubDate>Mon, 27 Nov 2000 15:44:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/execute-as-root/m-p/2467479#M15955</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-11-27T15:44:27Z</dc:date>
    </item>
  </channel>
</rss>

