<?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: adding to /etc/profile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665076#M931391</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Jip! thats is the one. &lt;BR /&gt;Check out man profile.&lt;BR /&gt;&lt;BR /&gt;Gideon</description>
    <pubDate>Thu, 14 Feb 2002 16:32:43 GMT</pubDate>
    <dc:creator>G. Vrijhoeven</dc:creator>
    <dc:date>2002-02-14T16:32:43Z</dc:date>
    <item>
      <title>adding to /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665073#M931388</link>
      <description>Is the /etc/profile the file that you should &lt;BR /&gt;customize to your installation or is there another version of this file somewhere that can be changed?  &lt;BR /&gt;&lt;BR /&gt;I would like to add some commands that all users will have access to, both new and existing.  Will the file that I modify make the changes I make avaiable to existing users the next time they log on?</description>
      <pubDate>Thu, 14 Feb 2002 16:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665073#M931388</guid>
      <dc:creator>Virginia OToole</dc:creator>
      <dc:date>2002-02-14T16:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: adding to /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665074#M931389</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The /etc/profile sets it for all users.&lt;BR /&gt;You can also edit the .profile in the&lt;BR /&gt;users home directory. &lt;BR /&gt;&lt;BR /&gt;I would suggest to put it in the users home directory so you can customize it per user.</description>
      <pubDate>Thu, 14 Feb 2002 16:31:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665074#M931389</guid>
      <dc:creator>Corthouts Carlo</dc:creator>
      <dc:date>2002-02-14T16:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: adding to /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665075#M931390</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You asked the same question for the second time:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x335f50011d20d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x335f50011d20d6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Feb 2002 16:31:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665075#M931390</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-02-14T16:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: adding to /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665076#M931391</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Jip! thats is the one. &lt;BR /&gt;Check out man profile.&lt;BR /&gt;&lt;BR /&gt;Gideon</description>
      <pubDate>Thu, 14 Feb 2002 16:32:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665076#M931391</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2002-02-14T16:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: adding to /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665077#M931392</link>
      <description>Virginia,&lt;BR /&gt;This is not the only way to accomplish your goal. One way is to use the /etc/skel dir.  Create your modified .profile in there, and when you create a new user account tell the system to use the /etc/skel dir for creating files in their homedir. i.e.&lt;BR /&gt;&lt;BR /&gt;useradd -u 999 -g 20 -d /home/username -c "Comments" -m -k /etc/skel loginname.&lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C</description>
      <pubDate>Thu, 14 Feb 2002 16:33:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665077#M931392</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-02-14T16:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: adding to /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665078#M931393</link>
      <description>Hi Virginia,&lt;BR /&gt;&lt;BR /&gt;What you mean by, want to add some commands. If these are executables you are talking about, you shoule put them in /usr/bin. If these are environment varaibles you want to be set for all the users you should add them to /etc/profile.&lt;BR /&gt;&lt;BR /&gt;You have already asked this question once,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x335f50011d20d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x335f50011d20d6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Feb 2002 16:33:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665078#M931393</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-02-14T16:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: adding to /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665079#M931394</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;When a user logs on, /etc/profile is run before the user .profile is run. Therefore, anything you do in /etc/profile could be overridden in the users .profile. The answer to your question is that it depends:&lt;BR /&gt;Suppose that in /etc/profile you do something like:&lt;BR /&gt;&lt;BR /&gt;PATH=/bin:/usr/bin:/usr/local/bin:/usr/specialbin&lt;BR /&gt;export PATH&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now for User A, the .profile does this:&lt;BR /&gt;export PATH=${PATH}:.&lt;BR /&gt;and for User B the .profile does this:&lt;BR /&gt;export PATH=.:/usr/bin/:/usr/local/bin&lt;BR /&gt;&lt;BR /&gt;A would be able to easily execute the files in /usr/specialbin but B would have to explicitly give the pathname to those same files.&lt;BR /&gt;&lt;BR /&gt;It'sd generally a good idea to copy /etc/profile to something like /etc/profile.orig before making changes. That way you can't get yourself out of trouble as quickly as you got yourself in.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Thu, 14 Feb 2002 16:37:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665079#M931394</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-02-14T16:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: adding to /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665080#M931395</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Why do you not try to edit or create /etc/PATH file?&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Mon, 18 Feb 2002 02:49:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-to-etc-profile/m-p/2665080#M931395</guid>
      <dc:creator>Doni Darmawan</dc:creator>
      <dc:date>2002-02-18T02:49:12Z</dc:date>
    </item>
  </channel>
</rss>

