<?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 Question in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607413#M40265</link>
    <description>Can u please explain it in more detail?&lt;BR /&gt;&lt;BR /&gt;Is that possible to grant some one to launch the startup and shutdown scripts as oracle (just these scripts launching as oracle and not any other thing as oracle) using sudo.&lt;BR /&gt;&lt;BR /&gt;If you can provide more details and steps, I would really appreciate it.</description>
    <pubDate>Thu, 25 Mar 2010 18:04:31 GMT</pubDate>
    <dc:creator>Waqar Razi</dc:creator>
    <dc:date>2010-03-25T18:04:31Z</dc:date>
    <item>
      <title>Sudo Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607411#M40263</link>
      <description>I have been asked to give access to one user to bring up and shutdown the application. I have used sudo before to give some one root access to perform some tasks that need root priveleges. To start and stop this particular application, you need to ORACLE and not ROOT.&lt;BR /&gt;&lt;BR /&gt;Can some one advice if we can implement this using sudo, i-e, grant some one priveleges of the oracle user to start and stop the application scripts.</description>
      <pubDate>Thu, 25 Mar 2010 17:51:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607411#M40263</guid>
      <dc:creator>Waqar Razi</dc:creator>
      <dc:date>2010-03-25T17:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607412#M40264</link>
      <description>how about something like this..&lt;BR /&gt;&lt;BR /&gt;Cmnd_Alias APP =  /apps/scripts/app_control.ksh&lt;BR /&gt;&lt;BR /&gt;oracle  server1=(appuser1,appuser2) NOPASSWD:APP&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Mar 2010 17:57:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607412#M40264</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2010-03-25T17:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607413#M40265</link>
      <description>Can u please explain it in more detail?&lt;BR /&gt;&lt;BR /&gt;Is that possible to grant some one to launch the startup and shutdown scripts as oracle (just these scripts launching as oracle and not any other thing as oracle) using sudo.&lt;BR /&gt;&lt;BR /&gt;If you can provide more details and steps, I would really appreciate it.</description>
      <pubDate>Thu, 25 Mar 2010 18:04:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607413#M40265</guid>
      <dc:creator>Waqar Razi</dc:creator>
      <dc:date>2010-03-25T18:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607414#M40266</link>
      <description>edit /etc/sudoers with visudo&lt;BR /&gt;&lt;BR /&gt;you can create a command alias with a list of commands that can be executed.&lt;BR /&gt;&lt;BR /&gt;Cmnd_Alias APP_SHUTDOWN = /path/to/script1, /path/to/script2&lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;give oracle permission to execute it as the application user appuser1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;oracle localhost=(appuser1) NOPASSWD:APP_SHUTDOWN&lt;BR /&gt;&lt;BR /&gt;or skip the cmnd_alias &lt;BR /&gt;&lt;BR /&gt;oracle localhost=(appuser1) NOPASSWD:/path/to/script&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;then logged in as oracle&lt;BR /&gt;sudo -u appuser1 /path/to/script&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Mar 2010 18:12:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607414#M40266</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2010-03-25T18:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607415#M40267</link>
      <description>Let me make it more clear:&lt;BR /&gt;&lt;BR /&gt;The user name is user1.&lt;BR /&gt;&lt;BR /&gt;The user logs in to the system as user1.&lt;BR /&gt;&lt;BR /&gt;Can he run some scripts as oracle user using sudo. The script needs to be run as oracle and not as root.</description>
      <pubDate>Thu, 25 Mar 2010 18:30:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607415#M40267</guid>
      <dc:creator>Waqar Razi</dc:creator>
      <dc:date>2010-03-25T18:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607416#M40268</link>
      <description>how about this way then...&lt;BR /&gt;&lt;BR /&gt;user1 localhost=(oracle) NOPASSWD:/path/to/script&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Mar 2010 18:32:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607416#M40268</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2010-03-25T18:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607417#M40269</link>
      <description>The user would then run the script as:&lt;BR /&gt;&lt;BR /&gt;$ sudo -u oracle /path/to/script</description>
      <pubDate>Thu, 25 Mar 2010 20:57:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607417#M40269</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2010-03-25T20:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607418#M40270</link>
      <description>Hope u have already got enough replies.&lt;BR /&gt;&lt;BR /&gt;Just FYI..&lt;BR /&gt;&lt;BR /&gt;sudo su - oracle&lt;BR /&gt;#Login as oracle and do whatever you want :)</description>
      <pubDate>Tue, 30 Mar 2010 07:46:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-question/m-p/4607418#M40270</guid>
      <dc:creator>bullz</dc:creator>
      <dc:date>2010-03-30T07:46:10Z</dc:date>
    </item>
  </channel>
</rss>

