<?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: sudo help in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-help/m-p/2911972#M107488</link>
    <description>How about this in your sudoers file?&lt;BR /&gt;&lt;BR /&gt;usera systema = (userb) /home/userb/myscript&lt;BR /&gt;&lt;BR /&gt;So, usera on systema can run userb's myscript as userb.&lt;BR /&gt;&lt;BR /&gt;You can also override the Runas_Spec:&lt;BR /&gt;&lt;BR /&gt;usera systema = (userb) /home/userb/myscript, (userc) /home/userc/myscript&lt;BR /&gt;&lt;BR /&gt;So, usera on systema can run userb's myscript as userb, and userc's myscript as userc.&lt;BR /&gt;&lt;BR /&gt;Hope that makes sense. If not, have alook at more examples on the sudoers man page.&lt;BR /&gt;&lt;BR /&gt;Col.</description>
    <pubDate>Tue, 25 Feb 2003 10:19:32 GMT</pubDate>
    <dc:creator>Colin Topliss</dc:creator>
    <dc:date>2003-02-25T10:19:32Z</dc:date>
    <item>
      <title>sudo help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-help/m-p/2911969#M107485</link>
      <description>How can I get this to work...&lt;BR /&gt;&lt;BR /&gt;sudo su - user -c "command"&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Steve&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Feb 2003 20:23:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-help/m-p/2911969#M107485</guid>
      <dc:creator>Steve_3</dc:creator>
      <dc:date>2003-02-24T20:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: sudo help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-help/m-p/2911970#M107486</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;-u Option&lt;BR /&gt;&lt;BR /&gt;The -u (user) option causes sudo to run the specified command as a user other than root. To specify a uid instead of a username, use #uid. &lt;BR /&gt;&lt;BR /&gt;#sudo -u &lt;USER&gt; &lt;COMMAND&gt;&lt;BR /&gt;&lt;BR /&gt;Pls check this on-line manual link:&lt;BR /&gt;&lt;A href="http://www.courtesan.com/sudo/man/sudo.html" target="_blank"&gt;http://www.courtesan.com/sudo/man/sudo.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds.&lt;/COMMAND&gt;&lt;/USER&gt;</description>
      <pubDate>Mon, 24 Feb 2003 20:30:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-help/m-p/2911970#M107486</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2003-02-24T20:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: sudo help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-help/m-p/2911971#M107487</link>
      <description>Yeah.  The -u option is not going to work.  B/c I have a command executing another command.</description>
      <pubDate>Mon, 24 Feb 2003 20:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-help/m-p/2911971#M107487</guid>
      <dc:creator>Steve_3</dc:creator>
      <dc:date>2003-02-24T20:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: sudo help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-help/m-p/2911972#M107488</link>
      <description>How about this in your sudoers file?&lt;BR /&gt;&lt;BR /&gt;usera systema = (userb) /home/userb/myscript&lt;BR /&gt;&lt;BR /&gt;So, usera on systema can run userb's myscript as userb.&lt;BR /&gt;&lt;BR /&gt;You can also override the Runas_Spec:&lt;BR /&gt;&lt;BR /&gt;usera systema = (userb) /home/userb/myscript, (userc) /home/userc/myscript&lt;BR /&gt;&lt;BR /&gt;So, usera on systema can run userb's myscript as userb, and userc's myscript as userc.&lt;BR /&gt;&lt;BR /&gt;Hope that makes sense. If not, have alook at more examples on the sudoers man page.&lt;BR /&gt;&lt;BR /&gt;Col.</description>
      <pubDate>Tue, 25 Feb 2003 10:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-help/m-p/2911972#M107488</guid>
      <dc:creator>Colin Topliss</dc:creator>
      <dc:date>2003-02-25T10:19:32Z</dc:date>
    </item>
  </channel>
</rss>

