<?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: always read .profile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723329#M253282</link>
    <description>No, that's the Posix shell.&lt;BR /&gt;&lt;BR /&gt;When logging into CDE, it reads .dtprofile.  Take a look at it - there are instructions inside that tell you how to make it read .profile.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Thu, 02 Feb 2006 13:43:54 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2006-02-02T13:43:54Z</dc:date>
    <item>
      <title>always read .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723323#M253276</link>
      <description>Hi,&lt;BR /&gt;I a running hp 10.2.  My .profile will not seem to update.  i can make a simple change, log out and log back in, but the change does not take effect.  I know I am still missing something.  What file do I need to have my profile read everytime I log in?&lt;BR /&gt;&lt;BR /&gt;New to HP and could sure use the help.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Phil</description>
      <pubDate>Thu, 02 Feb 2006 13:18:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723323#M253276</guid>
      <dc:creator>Phillip Popp</dc:creator>
      <dc:date>2006-02-02T13:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: always read .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723324#M253277</link>
      <description>Phil,&lt;BR /&gt;&lt;BR /&gt;How are you logging in and what are you logging in to?  By that, I mean are you logging into CDE?  If so, your .profile may, indeed, not be read, but that is easily fixed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 02 Feb 2006 13:22:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723324#M253277</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-02-02T13:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: always read .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723325#M253278</link>
      <description>Phil,&lt;BR /&gt;&lt;BR /&gt;Check you permissions for .profile.&lt;BR /&gt;&lt;BR /&gt;If you have problem, then after login, try this&lt;BR /&gt;&lt;BR /&gt;#/home/phil/. /.profile&lt;BR /&gt;&lt;BR /&gt;oNly temp messure &lt;BR /&gt;&lt;BR /&gt;If you are doing a global change for all then you have to change it in /etc/profile&lt;BR /&gt;&lt;BR /&gt;Chan</description>
      <pubDate>Thu, 02 Feb 2006 13:26:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723325#M253278</guid>
      <dc:creator>Chan 007</dc:creator>
      <dc:date>2006-02-02T13:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: always read .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723326#M253279</link>
      <description>Either if I log into a cde enviroment or if I just telnet into the hp location, neither way reads my profile.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Phil</description>
      <pubDate>Thu, 02 Feb 2006 13:29:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723326#M253279</guid>
      <dc:creator>Phillip Popp</dc:creator>
      <dc:date>2006-02-02T13:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: always read .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723327#M253280</link>
      <description>Hi Phil ,&lt;BR /&gt;&lt;BR /&gt;Please tell which shell you are using .&lt;BR /&gt;&lt;BR /&gt;can you post &lt;BR /&gt;&lt;BR /&gt;grep uername /etc/passwd &lt;BR /&gt;&lt;BR /&gt;o/p to ITRC .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks ,&lt;BR /&gt;bl .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Feb 2006 13:33:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723327#M253280</guid>
      <dc:creator>baiju_3</dc:creator>
      <dc:date>2006-02-02T13:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: always read .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723328#M253281</link>
      <description>bin/sh so I guess the bourne shell</description>
      <pubDate>Thu, 02 Feb 2006 13:40:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723328#M253281</guid>
      <dc:creator>Phillip Popp</dc:creator>
      <dc:date>2006-02-02T13:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: always read .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723329#M253282</link>
      <description>No, that's the Posix shell.&lt;BR /&gt;&lt;BR /&gt;When logging into CDE, it reads .dtprofile.  Take a look at it - there are instructions inside that tell you how to make it read .profile.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 02 Feb 2006 13:43:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723329#M253282</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-02-02T13:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: always read .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723330#M253283</link>
      <description>Hi Phil:&lt;BR /&gt;&lt;BR /&gt;Perchance did you declare a new variable in your profile; assign a value to it; but forget to export it so scripts you spawn don't see the variable?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 02 Feb 2006 13:48:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723330#M253283</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-02-02T13:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: always read .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723331#M253284</link>
      <description>Yes the DTSOURCEPROFILE is commented out and is set to true.  It should read the .profile.  I am checking to see if it read the profile, by putting an alias in.  I had this problem before, and it was a small fix, I just can't remember it.</description>
      <pubDate>Thu, 02 Feb 2006 14:03:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723331#M253284</guid>
      <dc:creator>Phillip Popp</dc:creator>
      <dc:date>2006-02-02T14:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: always read .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723332#M253285</link>
      <description>Hi phil,&lt;BR /&gt;When any user logs in to the system two profile files are read.&lt;BR /&gt;1. /etc/profile "System wide profile"&lt;BR /&gt;2. $HOME/.profile "User specific profile"&lt;BR /&gt;&lt;BR /&gt;As already suggest you can check the permission of the profile files, their Owner and Group.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Feb 2006 14:08:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723332#M253285</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2006-02-02T14:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: always read .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723333#M253286</link>
      <description>Hi,&lt;BR /&gt;I called the guy who made the change for me origionally.  He added a file Xdefaults.&lt;BR /&gt;one line   *LoginShell: True&lt;BR /&gt;&lt;BR /&gt;That worked, but I am not sure why.  now whenever I login to the system, it see's my profile changes.&lt;BR /&gt;&lt;BR /&gt;Does this make sense to anyone?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Phil</description>
      <pubDate>Thu, 02 Feb 2006 14:28:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723333#M253286</guid>
      <dc:creator>Phillip Popp</dc:creator>
      <dc:date>2006-02-02T14:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: always read .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723334#M253287</link>
      <description>Absolutely normal (but not intuiotive at all). Xwindows, specifically, CDE and the tools it uses like xterm, hpterm and dtterm default to *NOT* login normally but bypass /etc/profile and .profile completely. I consider the steps to be mandatory for any login that starts a shell. After all, /etc/profile is managed by the sysadmin and is expected to set a 'normal' environment.&lt;BR /&gt; &lt;BR /&gt;Anyways, the .Xdefaults file tells the remote system (remember, your PC isn't doing anything but acting as a display device) to set these Xwindow environment values. In this case, xterm would be told to perform a *normal* login if the resource was "Xterm^loginShell=true", but if you leave off the xterm part, "*loginShell=true" now applies to all Xwindow processes started by this user (meaning hpterm, xterm and dtterm).&lt;BR /&gt; &lt;BR /&gt;So there is a huge difference between typing telnet in a DOS/command window on your PC and clicking on a CDE icon. The PC's plain old telnet will login normally while the CDE icons and Xwindow programs have very different characteristics. Not that they can't be changed -- it's just unexpected.</description>
      <pubDate>Thu, 02 Feb 2006 17:05:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723334#M253287</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-02-02T17:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: always read .profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723335#M253288</link>
      <description>when you do telnet login it will automatically go through like,&lt;BR /&gt;&lt;BR /&gt;1) login process&lt;BR /&gt;2) /etc/profile&lt;BR /&gt;3) $HOME/.profile&lt;BR /&gt;&lt;BR /&gt;to login shell.&lt;BR /&gt;&lt;BR /&gt;When you do CDE login you must have a setting to read .profile file from the setting of *LoginShell: true. &lt;BR /&gt;&lt;BR /&gt;To lookup .profile with dtlogin then DTSOURCEPROFILE=1 has to be set.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Feb 2006 02:09:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/always-read-profile/m-p/3723335#M253288</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-03T02:09:35Z</dc:date>
    </item>
  </channel>
</rss>

