<?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: Modifying root's environmental path in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856826#M936940</link>
    <description>Check the home of root's .profile:&lt;BR /&gt;&lt;BR /&gt;login as root&lt;BR /&gt;cd&lt;BR /&gt;grep -i PATH .profile&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;grep -i PATH /etc/profile&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
    <pubDate>Tue, 03 Dec 2002 20:59:22 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2002-12-03T20:59:22Z</dc:date>
    <item>
      <title>Modifying root's environmental path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856822#M936936</link>
      <description>The root user on one of our 10.20 machines is using the sh shell. I wanted to modify the PATH in order to accomodate a program that was install in the /opt/vnc directory. Vnc is the name of the program. I went to the .profile file and modified the .PATH statement to include the path to the application directory. After logging out and logging back into the system, I attempted to start the application but got an error which said a particular file was not found in my path statement. When I did an echo $PATH, the directory was not listed. What did I miss? Thanks.</description>
      <pubDate>Tue, 03 Dec 2002 20:48:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856822#M936936</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2002-12-03T20:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying root's environmental path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856823#M936937</link>
      <description>Hi,&lt;BR /&gt;Do you use CDE ? In this case you must use the .dtprofile for enviroment settings or (in this file) uncomment the line&lt;BR /&gt;# DTSOURCEPROFILE=true</description>
      <pubDate>Tue, 03 Dec 2002 20:53:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856823#M936937</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2002-12-03T20:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying root's environmental path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856824#M936938</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Dot in the .profile and see if it works.&lt;BR /&gt;&lt;BR /&gt;#cd&lt;BR /&gt;#. ./.profile&lt;BR /&gt;#echo $PATH&lt;BR /&gt;&lt;BR /&gt;If you are using CDE, you will need to make sure that, in $HOME/.dtprofile the line  "DTSOURCEPROFILE=true" is uncommented.&lt;BR /&gt;Keep a file called $HOME/.Xdefaults that has the line "dtterm*loginShell: True".&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 03 Dec 2002 20:57:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856824#M936938</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-12-03T20:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying root's environmental path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856825#M936939</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;Yes...CDE is used as our GUI desktop. If I understand you correctly, the PATH statement in .dtprofile should be modified accordingly, and the last line in the file should be uncommented. Is that correct?</description>
      <pubDate>Tue, 03 Dec 2002 20:58:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856825#M936939</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2002-12-03T20:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying root's environmental path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856826#M936940</link>
      <description>Check the home of root's .profile:&lt;BR /&gt;&lt;BR /&gt;login as root&lt;BR /&gt;cd&lt;BR /&gt;grep -i PATH .profile&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;grep -i PATH /etc/profile&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 03 Dec 2002 20:59:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856826#M936940</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-12-03T20:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying root's environmental path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856827#M936941</link>
      <description>No. You don't specify PATH statement in .dtprofile. You enable .profile to run through .dtprofile. YOu will need to make sure you have .Xdefaults file as I mentioned before.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 03 Dec 2002 21:00:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856827#M936941</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-12-03T21:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying root's environmental path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856828#M936942</link>
      <description>You can also add the directory to /etc/PATH, /etc/profile, and for C-Shell, /etc/csh.login.  All of these will give a global definition.&lt;BR /&gt;&lt;BR /&gt;With root though, I change the paths in /.profile, and /.cshrc for cshell.  I have no problems in CDE with this, even though I dont uncomment the line in .dtprofile.  At initial login, your defaults are read, just not each consecuative shell afterwards.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Tue, 03 Dec 2002 21:59:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856828#M936942</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2002-12-03T21:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying root's environmental path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856829#M936943</link>
      <description>Hi Andrew:&lt;BR /&gt;&lt;BR /&gt;Adding additional levels to the PATH variable is sometimes appropriate.  Make sure that you keep the most likely directories to contain the desired object at the front of the PATH for optimal search times.&lt;BR /&gt;&lt;BR /&gt;In some cases, it is just as appropriate to code (or force the use of) an absolute path in a script or command line.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 04 Dec 2002 00:53:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-root-s-environmental-path/m-p/2856829#M936943</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-12-04T00:53:10Z</dc:date>
    </item>
  </channel>
</rss>

