<?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: Over write PATH  with /etc/PATH in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/over-write-path-with-etc-path/m-p/3533370#M221850</link>
    <description>In /etc/profile, the following statement sets up the standard PATH:&lt;BR /&gt;&lt;BR /&gt;export PATH=`cat /etc/PATH`&lt;BR /&gt;&lt;BR /&gt;/etc/PATH is simply a text file containing normal PATH entries.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;</description>
    <pubDate>Wed, 27 Apr 2005 12:03:07 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2005-04-27T12:03:07Z</dc:date>
    <item>
      <title>Over write PATH  with /etc/PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/over-write-path-with-etc-path/m-p/3533369#M221849</link>
      <description>I loaded HPUX 10.2 a few weeks ago. I configured the /etc/profile to add /usr/sbin to the PATH list and exported PATH. In addition, I added the same change to the .profile or .cshrc of every user on the system. The problem that I am having is that the /usr/sbin is not showing up when the echo $PATH is given. An echo to $PATH displays many different directories that most users probably would not use in a life time such as /usr/dt/bin or /usr/local/bin/X11 or whatever. I frankly don't know where these other PATH names are being assigned. One friend pointed out to me that /etc/PATH file holds the key to all the PATH's. But, HPUX 10.2 doesn't have a /etc/PATH file. So first, where do all the entries come from in $PATH? Second and most important, How can I get the enteries that are posted in the .profile and the .cshrc to be recognized over the existing PATH or how does implement /etc/PATH file?&lt;BR /&gt;&lt;BR /&gt;Thanks to all that respond.&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Apr 2005 12:00:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/over-write-path-with-etc-path/m-p/3533369#M221849</guid>
      <dc:creator>Alexander E Jackson</dc:creator>
      <dc:date>2005-04-27T12:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Over write PATH  with /etc/PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/over-write-path-with-etc-path/m-p/3533370#M221850</link>
      <description>In /etc/profile, the following statement sets up the standard PATH:&lt;BR /&gt;&lt;BR /&gt;export PATH=`cat /etc/PATH`&lt;BR /&gt;&lt;BR /&gt;/etc/PATH is simply a text file containing normal PATH entries.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Apr 2005 12:03:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/over-write-path-with-etc-path/m-p/3533370#M221850</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-04-27T12:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Over write PATH  with /etc/PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/over-write-path-with-etc-path/m-p/3533371#M221851</link>
      <description>In the individual .profile files, &lt;BR /&gt;export PATH=$PATH:/home:/&lt;WHATEVERELSE&gt;&lt;BR /&gt;&lt;BR /&gt;The $PATH in the above line references the /etc/profile PATH listing.&lt;/WHATEVERELSE&gt;</description>
      <pubDate>Wed, 27 Apr 2005 12:04:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/over-write-path-with-etc-path/m-p/3533371#M221851</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-04-27T12:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Over write PATH  with /etc/PATH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/over-write-path-with-etc-path/m-p/3533372#M221852</link>
      <description>Alexander --&lt;BR /&gt;&lt;BR /&gt;A user could specify their own PATH in their .profile without referencing the system's setting for $PATH.&lt;BR /&gt;&lt;BR /&gt;So if you want to add /home/bin to your path in the .profile, it should be:&lt;BR /&gt;&lt;BR /&gt;PATH=$PATH:/home/bin&lt;BR /&gt;&lt;BR /&gt;Some user may have done:&lt;BR /&gt;&lt;BR /&gt;PATH=/home/bin&lt;BR /&gt;&lt;BR /&gt;Or even if they just left out the $&lt;BR /&gt;&lt;BR /&gt;PATH=PATH:/home/bin&lt;BR /&gt;&lt;BR /&gt;This will look for two directories PATH and /home/bin.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Oz&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Apr 2005 12:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/over-write-path-with-etc-path/m-p/3533372#M221852</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-04-27T12:42:56Z</dc:date>
    </item>
  </channel>
</rss>

