<?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: Environment variable help in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/environment-variable-help/m-p/4405606#M352341</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;are there any other scripts executed from the user's .profile file ? Maybe something that is executed after the .profile clears the user's environment.&lt;BR /&gt;&lt;BR /&gt;J.</description>
    <pubDate>Wed, 22 Apr 2009 09:30:49 GMT</pubDate>
    <dc:creator>Jozef_Novak</dc:creator>
    <dc:date>2009-04-22T09:30:49Z</dc:date>
    <item>
      <title>Environment variable help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/environment-variable-help/m-p/4405605#M352340</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;We are having the hp-ux server of version 11.11 and sap application on it.&lt;BR /&gt;&lt;BR /&gt;(1)I have set an Environmental variable “MQSERVER “globally (/etc/profile), I am able to see variable using env command also echo $MQAERVER showing the path correctly.&lt;BR /&gt;&lt;BR /&gt;(2)But user (iface ) not able to see env variable MQSERVER by env command and by using echo $x even after login through session and also tried with different shell ksh/csh.&lt;BR /&gt;&lt;BR /&gt;(3) I have made the entry of env variable with export command  in user’s .profile and tried with new session but still no result.&lt;BR /&gt;&lt;BR /&gt;Please suggest what could be the solution in this case.&lt;BR /&gt;&lt;BR /&gt;Thank you kindly.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Subodh. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Apr 2009 09:25:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/environment-variable-help/m-p/4405605#M352340</guid>
      <dc:creator>subodhbagade</dc:creator>
      <dc:date>2009-04-22T09:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Environment variable help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/environment-variable-help/m-p/4405606#M352341</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;are there any other scripts executed from the user's .profile file ? Maybe something that is executed after the .profile clears the user's environment.&lt;BR /&gt;&lt;BR /&gt;J.</description>
      <pubDate>Wed, 22 Apr 2009 09:30:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/environment-variable-help/m-p/4405606#M352341</guid>
      <dc:creator>Jozef_Novak</dc:creator>
      <dc:date>2009-04-22T09:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Environment variable help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/environment-variable-help/m-p/4405607#M352342</link>
      <description>ok prove it with some commands:&lt;BR /&gt;&lt;BR /&gt;As root:&lt;BR /&gt;&lt;BR /&gt;echo $MQSERVER&lt;BR /&gt;&lt;BR /&gt;awk -F: ' $1=="iface" { print $7 } ' /etc/passwd&lt;BR /&gt;&lt;BR /&gt;su - iface -c 'echo $MQSERVER'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Wed, 22 Apr 2009 09:35:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/environment-variable-help/m-p/4405607#M352342</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-04-22T09:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Environment variable help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/environment-variable-help/m-p/4405608#M352343</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;I am able to see variable using env command also echo $MQSERVER showing the path correctly&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;If you are able to see the env variable, and you are a normal user, then iface user also should be able to do unless or until if something is overriding this value in his user profile. check the user profile</description>
      <pubDate>Wed, 22 Apr 2009 09:48:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/environment-variable-help/m-p/4405608#M352343</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-04-22T09:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Environment variable help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/environment-variable-help/m-p/4405609#M352344</link>
      <description>&lt;!--!*#--&gt;If the problem user is using a C shell, then&lt;BR /&gt;changes to his "~/.profile" or "/etc/profile"&lt;BR /&gt;may have little effect.&lt;BR /&gt;&lt;BR /&gt;Adding an "echo" command after the command(s)&lt;BR /&gt;used to set the variable might tell you if&lt;BR /&gt;anyone is actually running the command(s).&lt;BR /&gt;&lt;BR /&gt;&amp;gt; ok prove it [...]&lt;BR /&gt;&lt;BR /&gt;Or even show your actual changes, instead of&lt;BR /&gt;trying to describe (vaguely) what you did.&lt;BR /&gt;Real evidence is often more helpful than&lt;BR /&gt;vague descriptions.</description>
      <pubDate>Wed, 22 Apr 2009 09:52:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/environment-variable-help/m-p/4405609#M352344</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-04-22T09:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Environment variable help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/environment-variable-help/m-p/4405610#M352345</link>
      <description>What is the default shell of user iface?&lt;BR /&gt;Setting variables in /etc/profile doesn't help if the user uses C shell. &lt;BR /&gt;Please provide output of:&lt;BR /&gt;&lt;BR /&gt;#grep iface /etc/passwd&lt;BR /&gt;&lt;BR /&gt;Try setting the variable in the .profile or (if C shell) .cshrc files in the $HOME directory of user iface.&lt;BR /&gt;&lt;BR /&gt;Remember that the syntax of csh profile is different from the sh profile syntax.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bart</description>
      <pubDate>Thu, 23 Apr 2009 06:07:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/environment-variable-help/m-p/4405610#M352345</guid>
      <dc:creator>Bart Paulusse</dc:creator>
      <dc:date>2009-04-23T06:07:13Z</dc:date>
    </item>
  </channel>
</rss>

