<?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 Remote shell environment in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-shell-environment/m-p/3430097#M205608</link>
    <description>Dear Experts,&lt;BR /&gt;  How can I set the environment on the remote shell? Is the #remsh using the .profile environment or the /etc/profile environment?&lt;BR /&gt;Is there are file that I can set the remote shell envirronment. Currently I try to #remsh to another server to shutdown the oracle database but seem not working because the environment not defind. I have the the environment in $HOME/oracle/.profile &amp;amp; /etc/profile.</description>
    <pubDate>Wed, 24 Nov 2004 20:15:20 GMT</pubDate>
    <dc:creator>Kennethyap</dc:creator>
    <dc:date>2004-11-24T20:15:20Z</dc:date>
    <item>
      <title>Remote shell environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-shell-environment/m-p/3430097#M205608</link>
      <description>Dear Experts,&lt;BR /&gt;  How can I set the environment on the remote shell? Is the #remsh using the .profile environment or the /etc/profile environment?&lt;BR /&gt;Is there are file that I can set the remote shell envirronment. Currently I try to #remsh to another server to shutdown the oracle database but seem not working because the environment not defind. I have the the environment in $HOME/oracle/.profile &amp;amp; /etc/profile.</description>
      <pubDate>Wed, 24 Nov 2004 20:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-shell-environment/m-p/3430097#M205608</guid>
      <dc:creator>Kennethyap</dc:creator>
      <dc:date>2004-11-24T20:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Remote shell environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-shell-environment/m-p/3430098#M205609</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;'remsh' simply executes the corresponding shell with -c option. So, .profile or /etc/profile won't get executed. However, &lt;BR /&gt;look at the man page of 'remsh'. &lt;BR /&gt;//&lt;BR /&gt;If the remote shell is /usr/bin/sh, the following command line sets up the environment for the remote command before executing the remote command:&lt;BR /&gt;&lt;BR /&gt;remsh otherhost . .profile 2&amp;gt;&amp;amp;- \; command&lt;BR /&gt;&lt;BR /&gt;The 2&amp;gt;&amp;amp;- throws away error messages generated by executing .profile when stdin and stdout are not a terminal.//&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 24 Nov 2004 20:23:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-shell-environment/m-p/3430098#M205609</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-24T20:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Remote shell environment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-shell-environment/m-p/3430099#M205610</link>
      <description>You also can run a job on the remote system, put all the PATH information in the job and acces the job as follows: remsh SYSNAME su -oracleuser -c /usr/batch/JOBNAME This shuold do the trick.</description>
      <pubDate>Thu, 25 Nov 2004 08:20:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-shell-environment/m-p/3430099#M205610</guid>
      <dc:creator>E. ten Pas</dc:creator>
      <dc:date>2004-11-25T08:20:15Z</dc:date>
    </item>
  </channel>
</rss>

