<?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: problem with su in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947194#M114975</link>
    <description>hi&lt;BR /&gt;&lt;BR /&gt;but are you sure that tbstat is executed? su without - don't read you eviroment (PATH for example)&lt;BR /&gt;&lt;BR /&gt;bye</description>
    <pubDate>Wed, 09 Apr 2003 13:08:43 GMT</pubDate>
    <dc:creator>Domenico_5</dc:creator>
    <dc:date>2003-04-09T13:08:43Z</dc:date>
    <item>
      <title>problem with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947193#M114974</link>
      <description>Hello all,&lt;BR /&gt;I had a problem like the following:&lt;BR /&gt;su informix &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;tbstat -d &lt;BR /&gt;if [ $? = 0 ]    # problem here&lt;BR /&gt;then &lt;BR /&gt; ...&lt;BR /&gt;fi&lt;BR /&gt;...&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;I could not get the exit code from $? for "tbstat -d" execution. Any idea will be appreciated!&lt;BR /&gt;&lt;BR /&gt;Thanks and waiting for your reply.&lt;BR /&gt;&lt;BR /&gt;cg</description>
      <pubDate>Wed, 09 Apr 2003 13:02:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947193#M114974</guid>
      <dc:creator>cgzou</dc:creator>
      <dc:date>2003-04-09T13:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: problem with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947194#M114975</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;but are you sure that tbstat is executed? su without - don't read you eviroment (PATH for example)&lt;BR /&gt;&lt;BR /&gt;bye</description>
      <pubDate>Wed, 09 Apr 2003 13:08:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947194#M114975</guid>
      <dc:creator>Domenico_5</dc:creator>
      <dc:date>2003-04-09T13:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: problem with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947195#M114976</link>
      <description>cg&lt;BR /&gt;&lt;BR /&gt;Try adding - between su and oracle.&lt;BR /&gt;&lt;BR /&gt;DR</description>
      <pubDate>Wed, 09 Apr 2003 13:15:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947195#M114976</guid>
      <dc:creator>Dario_1</dc:creator>
      <dc:date>2003-04-09T13:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: problem with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947196#M114977</link>
      <description>I did -x in my shell so I knew that tbstat -d was executed. $? was always 0 no matter failure or success. I guess it is sub shell problem. &lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 09 Apr 2003 13:15:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947196#M114977</guid>
      <dc:creator>cgzou</dc:creator>
      <dc:date>2003-04-09T13:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: problem with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947197#M114978</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;SU to Informix and execute the command using the full PATH, then do an echo $? this will give you the exit status.&lt;BR /&gt;&lt;BR /&gt;DR</description>
      <pubDate>Wed, 09 Apr 2003 13:32:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947197#M114978</guid>
      <dc:creator>Dario_1</dc:creator>
      <dc:date>2003-04-09T13:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: problem with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947198#M114979</link>
      <description>DR,&lt;BR /&gt;It is not PATH issue, I executed the .profile before the tbstat(sorry didn't mention that in the ex.) and I also checked if it was actually executed, it did.&lt;BR /&gt;&lt;BR /&gt;Anyway I tried your suggestion, didn't work.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 09 Apr 2003 13:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947198#M114979</guid>
      <dc:creator>cgzou</dc:creator>
      <dc:date>2003-04-09T13:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: problem with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947199#M114980</link>
      <description>mmm&lt;BR /&gt;&lt;BR /&gt;I don't know informix, so tbstat in not a script corret?&lt;BR /&gt;you can use a workaround send the tbstat result on a file and check if it exist.&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Wed, 09 Apr 2003 14:03:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947199#M114980</guid>
      <dc:creator>Domenico_5</dc:creator>
      <dc:date>2003-04-09T14:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: problem with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947200#M114981</link>
      <description>Hi again!!!&lt;BR /&gt;&lt;BR /&gt;I don't know much about informix, can you tell me what tbstat does? Is this similar to onstat? Are you supposed to get any output like OFFLINE / ONLINE? &lt;BR /&gt;&lt;BR /&gt;DR</description>
      <pubDate>Wed, 09 Apr 2003 14:30:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-su/m-p/2947200#M114981</guid>
      <dc:creator>Dario_1</dc:creator>
      <dc:date>2003-04-09T14:30:53Z</dc:date>
    </item>
  </channel>
</rss>

