<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/4707108#M384615</link>
    <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;A simple way &lt;BR /&gt;&lt;BR /&gt;1) visudo&lt;BR /&gt;&lt;BR /&gt;2) Add the below entry in sudoers&lt;BR /&gt;operator     ALL=(oracle) NOPASSWD: /home/oracle/script1.sh&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;operator     hostname=(oracle) NOPASSWD: /home/oracle/script1.sh&lt;BR /&gt;&lt;BR /&gt;3) Save it&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Usage:-&lt;BR /&gt;=====&lt;BR /&gt;1) Login as operator&lt;BR /&gt;&lt;BR /&gt;2) $&amp;gt;sudo -u oracle /home/oracle/script1.sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Aneesh</description>
    <pubDate>Mon, 01 Nov 2010 06:57:09 GMT</pubDate>
    <dc:creator>Aneesh Mohan</dc:creator>
    <dc:date>2010-11-01T06:57:09Z</dc:date>
    <item>
      <title>sudo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/4707104#M384611</link>
      <description>Hi experts!&lt;BR /&gt;&lt;BR /&gt;I will create operator account and this account have to run script as oracle user.&lt;BR /&gt;How to configure sudo for that case?&lt;BR /&gt;&lt;BR /&gt;Best regards.</description>
      <pubDate>Sun, 31 Oct 2010 12:03:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/4707104#M384611</guid>
      <dc:creator>Bigbang_1</dc:creator>
      <dc:date>2010-10-31T12:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: sudo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/4707105#M384612</link>
      <description>hi &lt;BR /&gt;&lt;BR /&gt;u can try with &lt;BR /&gt;&lt;BR /&gt;setacl -m user:operator:rx /oracle&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;MC</description>
      <pubDate>Sun, 31 Oct 2010 17:07:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/4707105#M384612</guid>
      <dc:creator>madhuchakkaravarthy</dc:creator>
      <dc:date>2010-10-31T17:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: sudo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/4707106#M384613</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I know about ACL but I wanna run script as oracle user.</description>
      <pubDate>Sun, 31 Oct 2010 18:48:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/4707106#M384613</guid>
      <dc:creator>Bigbang_1</dc:creator>
      <dc:date>2010-10-31T18:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: sudo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/4707107#M384614</link>
      <description>Hello Bigbang.&lt;BR /&gt;&lt;BR /&gt;You can edit sudo file (visudo)&lt;BR /&gt;&lt;BR /&gt;User_Alias      OPERATORS = operator-name&lt;BR /&gt;Cmnd_Alias &lt;BR /&gt;BACKUP = /home/oper/oracle.sh&lt;BR /&gt;OPERATORS  ALL = BACKUP&lt;BR /&gt;&lt;BR /&gt;Else in one line&lt;BR /&gt;operator-name  ALL= /home/oper/oracle.sh&lt;BR /&gt;&lt;BR /&gt;Choice is all yours...&lt;BR /&gt;&lt;BR /&gt;user has to give sudo -l to list what all previleges as root to execute.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ali...</description>
      <pubDate>Mon, 01 Nov 2010 03:07:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/4707107#M384614</guid>
      <dc:creator>HP-UX_Ali</dc:creator>
      <dc:date>2010-11-01T03:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: sudo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/4707108#M384615</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;A simple way &lt;BR /&gt;&lt;BR /&gt;1) visudo&lt;BR /&gt;&lt;BR /&gt;2) Add the below entry in sudoers&lt;BR /&gt;operator     ALL=(oracle) NOPASSWD: /home/oracle/script1.sh&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;operator     hostname=(oracle) NOPASSWD: /home/oracle/script1.sh&lt;BR /&gt;&lt;BR /&gt;3) Save it&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Usage:-&lt;BR /&gt;=====&lt;BR /&gt;1) Login as operator&lt;BR /&gt;&lt;BR /&gt;2) $&amp;gt;sudo -u oracle /home/oracle/script1.sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Aneesh</description>
      <pubDate>Mon, 01 Nov 2010 06:57:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/4707108#M384615</guid>
      <dc:creator>Aneesh Mohan</dc:creator>
      <dc:date>2010-11-01T06:57:09Z</dc:date>
    </item>
  </channel>
</rss>

