<?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: .profile question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/4901793#M404221</link>
    <description>Thanks for everyone's promptly reply!&lt;BR /&gt;&lt;BR /&gt;Actaully by editing the /etc/PATH works and that's what I was looking for. And it's good to know what $PATH is for as well!&lt;BR /&gt;&lt;BR /&gt;Joe</description>
    <pubDate>Thu, 12 May 2005 15:15:00 GMT</pubDate>
    <dc:creator>Joe Chow_1</dc:creator>
    <dc:date>2005-05-12T15:15:00Z</dc:date>
    <item>
      <title>.profile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/4901789#M404217</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;I have a question regarding users .profile&lt;BR /&gt;&lt;BR /&gt;I want to provide all users a search PATH in their .profile, I know instead of add the PATH in each .profile, I can just add the PATH into the /etc/profile. &lt;BR /&gt;&lt;BR /&gt;The problem is that I added the PATH to the /etc/profile but it won't work for the users. Can someone plesae shed some light here?&lt;BR /&gt;&lt;BR /&gt;Here's what the /etc/profile PATH looks like:&lt;BR /&gt;-bash-2.05b$ more /etc/profile&lt;BR /&gt;&lt;BR /&gt;# @(#)B.11.11_LR&lt;BR /&gt;&lt;BR /&gt;# Default (example of) system-wide profile file (/usr/bin/sh initialization).&lt;BR /&gt;# This should be kept to the bare minimum every user needs.&lt;BR /&gt;&lt;BR /&gt;# Ignore HUP, INT, QUIT now.&lt;BR /&gt;&lt;BR /&gt;        trap "" 1 2 3&lt;BR /&gt;&lt;BR /&gt;# Set the default paths - Do NOT modify these.&lt;BR /&gt;# Modify the variables through /etc/PATH and /etc/MANPATH&lt;BR /&gt;&lt;BR /&gt;        PATH=/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/local/bin:/usr/local/bi&lt;BR /&gt;n/sudo&lt;BR /&gt;        MANPATH=/usr/share/man:/usr/contrib/man:/usr/local/man</description>
      <pubDate>Thu, 12 May 2005 15:02:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/4901789#M404217</guid>
      <dc:creator>Joe Chow_1</dc:creator>
      <dc:date>2005-05-12T15:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: .profile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/4901790#M404218</link>
      <description>Joe --&lt;BR /&gt;&lt;BR /&gt;In the user profile, their path must start with something like:&lt;BR /&gt;&lt;BR /&gt;PATH=$PATH:/home/fred/bin&lt;BR /&gt;&lt;BR /&gt;So the $PATH means to pick up the PATH variable you have already set up.&lt;BR /&gt;&lt;BR /&gt;If the user has:&lt;BR /&gt;&lt;BR /&gt;PATH=/home/fred/bin&lt;BR /&gt;&lt;BR /&gt;Then they override what you have instead of adding to it.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 May 2005 15:04:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/4901790#M404218</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-05-12T15:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: .profile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/4901791#M404219</link>
      <description>Like it says in /etc/profile:&lt;BR /&gt;&lt;BR /&gt;# Set the default paths - Do NOT modify these.&lt;BR /&gt;# Modify the variables through /etc/PATH and /etc/MANPATH&lt;BR /&gt;&lt;BR /&gt;Go to /etc/PATH and add there whatever you want. I should work.</description>
      <pubDate>Thu, 12 May 2005 15:09:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/4901791#M404219</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-05-12T15:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: .profile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/4901792#M404220</link>
      <description>YOu need to check your /etc/profile and make sure that a line similar to &lt;BR /&gt;&lt;BR /&gt;PATH=`cat /etc/PATH`&lt;BR /&gt;&lt;BR /&gt;gets executed somewhere.  If it doesn't you won't get the contents of /etc/PATH.</description>
      <pubDate>Thu, 12 May 2005 15:09:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/4901792#M404220</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-05-12T15:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: .profile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/4901793#M404221</link>
      <description>Thanks for everyone's promptly reply!&lt;BR /&gt;&lt;BR /&gt;Actaully by editing the /etc/PATH works and that's what I was looking for. And it's good to know what $PATH is for as well!&lt;BR /&gt;&lt;BR /&gt;Joe</description>
      <pubDate>Thu, 12 May 2005 15:15:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/4901793#M404221</guid>
      <dc:creator>Joe Chow_1</dc:creator>
      <dc:date>2005-05-12T15:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: .profile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/4901794#M404222</link>
      <description>You can have the user's .profile say;&lt;BR /&gt;&lt;BR /&gt;PATH=$PATH&lt;BR /&gt;export PATH&lt;BR /&gt;&lt;BR /&gt;Modify the /etc/PATH to include what you want.&lt;BR /&gt;&lt;BR /&gt;This way everybody gets the same PATH</description>
      <pubDate>Thu, 12 May 2005 15:16:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/4901794#M404222</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-05-12T15:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: .profile question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/4901795#M404223</link>
      <description>I think my problem resolved and thanks again.&lt;BR /&gt;&lt;BR /&gt;Joe</description>
      <pubDate>Thu, 12 May 2005 15:17:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-question/m-p/4901795#M404223</guid>
      <dc:creator>Joe Chow_1</dc:creator>
      <dc:date>2005-05-12T15:17:06Z</dc:date>
    </item>
  </channel>
</rss>

