<?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 problem in su in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-su/m-p/4460150#M359899</link>
    <description>i am running a shell script in hp-ux for export of my database when i su - oracle, it is propmting for password and im running the script from oracle user itself</description>
    <pubDate>Wed, 15 Jul 2009 09:33:11 GMT</pubDate>
    <dc:creator>Jenny John</dc:creator>
    <dc:date>2009-07-15T09:33:11Z</dc:date>
    <item>
      <title>problem in su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-su/m-p/4460150#M359899</link>
      <description>i am running a shell script in hp-ux for export of my database when i su - oracle, it is propmting for password and im running the script from oracle user itself</description>
      <pubDate>Wed, 15 Jul 2009 09:33:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-su/m-p/4460150#M359899</guid>
      <dc:creator>Jenny John</dc:creator>
      <dc:date>2009-07-15T09:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: problem in su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-su/m-p/4460151#M359900</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This is Linux area, any way it is normal to ask because you are not root user, to work around, try to run it as root user, make the script some thing like this:&lt;BR /&gt;&lt;BR /&gt;export ORACLE_HOME=&lt;ORACLE_HOME&gt;&lt;BR /&gt;export PATH=$PATH:$ORACLE_HOME&lt;BR /&gt;su - oracle -c "&lt;THE export="" command=""&gt;"&lt;BR /&gt;&lt;BR /&gt;hope it will help&lt;/THE&gt;&lt;/ORACLE_HOME&gt;</description>
      <pubDate>Wed, 15 Jul 2009 10:58:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-su/m-p/4460151#M359900</guid>
      <dc:creator>Fayez</dc:creator>
      <dc:date>2009-07-15T10:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: problem in su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-su/m-p/4460152#M359901</link>
      <description>&lt;!--!*#--&gt;Or make your script use su only when necessary, with a test like this:&lt;BR /&gt;&lt;BR /&gt;if [ $(whoami) != "oracle" ]; then&lt;BR /&gt;    SUPREFIX="su - oracle"&lt;BR /&gt;else&lt;BR /&gt;    SUPREFIX=""&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;# prefix the command with "su - oracle" if run as someone other than "oracle" &lt;BR /&gt;$SUPREFIX somecommand&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 15 Jul 2009 11:05:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-su/m-p/4460152#M359901</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-07-15T11:05:27Z</dc:date>
    </item>
  </channel>
</rss>

