<?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 will not be read in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-will-not-be-read/m-p/2868487#M97797</link>
    <description>RESOLUTION&lt;BR /&gt;You can force the system to sources these files by enabling the "loginShell" resource for each of the terminal emulator windows. &lt;BR /&gt;&lt;BR /&gt;To do this on a system-wide basis you will need to create the sys.resources file in the /etc/dt/config/C/ directory and add the following line to this new resource file: &lt;BR /&gt;&lt;BR /&gt;      *loginShell: true&lt;BR /&gt;&lt;BR /&gt;The permissions on this file should be 644 : &lt;BR /&gt;&lt;BR /&gt;      /usr/bin/chmod 644 /etc/dt/config/C/sys.resources&lt;BR /&gt;&lt;BR /&gt;NOTE: If this file already exists, this resource line can be added to the end of the existing file.&lt;BR /&gt;&lt;BR /&gt;To do this on a per-user basis you will need to create the .Xdefaults file in the user's $HOME directory and add the following line to this new resource file: &lt;BR /&gt;&lt;BR /&gt;      *loginShell: true&lt;BR /&gt;&lt;BR /&gt;The permissions on this file should be 644 : &lt;BR /&gt;&lt;BR /&gt;      /usr/bin/chmod 755 $HOME/.Xdefaults&lt;BR /&gt;&lt;BR /&gt;NOTE: If this file already exists, this resource line can be added to the end of the existing file.&lt;BR /&gt;&lt;BR /&gt;Both of these changes will take effect with the next login to CDE. &lt;BR /&gt;&lt;BR /&gt;EXPLANATION &lt;BR /&gt;The *loginShell resource configures the terminal emulators (Dtterm, HPterm, XTerm) to behave as if the user has 'telnet'-ed or 'rlogin'-ed into the system. &lt;BR /&gt;&lt;BR /&gt;This incorporates the default sequence of reading the /etc/profile and similar files when each new terminal window is opened. Therefore, the environment in the shell window will NOT be the same as as that of the standard CDE session (/usr/dt/bin/dtsession). &lt;BR /&gt;</description>
    <pubDate>Fri, 20 Dec 2002 11:12:53 GMT</pubDate>
    <dc:creator>Armin Feller</dc:creator>
    <dc:date>2002-12-20T11:12:53Z</dc:date>
    <item>
      <title>.profile will not be read</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-will-not-be-read/m-p/2868484#M97794</link>
      <description>After logging into CDE, if I open a dtterm, my .profile will not be read, but if I open a console, my .profile will be read ( or just su - user ).&lt;BR /&gt;&lt;BR /&gt;I checked my .dtprofile and uncomment "DTSOURCEPROFILE=true", but this doesn't work.&lt;BR /&gt;And to put ". ./.profile" at the end of .dtprofile doesn't work also.</description>
      <pubDate>Fri, 20 Dec 2002 11:01:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-will-not-be-read/m-p/2868484#M97794</guid>
      <dc:creator>Zlatko_1</dc:creator>
      <dc:date>2002-12-20T11:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: .profile will not be read</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-will-not-be-read/m-p/2868485#M97795</link>
      <description>Maybe the problem is that the environment variable that should be set is SHENV rather then ENV as documented. Set this variable in ~/.profile as&lt;BR /&gt;follows:&lt;BR /&gt;&lt;BR /&gt;     SHENV=/doug/.profile&lt;BR /&gt;     export SHENV&lt;BR /&gt;&lt;BR /&gt;This will set the environment variabl and export it for other shells.  The ~/.profile will then execute for all shells.&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Dec 2002 11:07:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-will-not-be-read/m-p/2868485#M97795</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2002-12-20T11:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: .profile will not be read</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-will-not-be-read/m-p/2868486#M97796</link>
      <description>check using the -ls option to the dtterm when invoking it.&lt;BR /&gt;&lt;BR /&gt;#dtterm -ls&lt;BR /&gt;&lt;BR /&gt;revert</description>
      <pubDate>Fri, 20 Dec 2002 11:10:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-will-not-be-read/m-p/2868486#M97796</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-12-20T11:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: .profile will not be read</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-will-not-be-read/m-p/2868487#M97797</link>
      <description>RESOLUTION&lt;BR /&gt;You can force the system to sources these files by enabling the "loginShell" resource for each of the terminal emulator windows. &lt;BR /&gt;&lt;BR /&gt;To do this on a system-wide basis you will need to create the sys.resources file in the /etc/dt/config/C/ directory and add the following line to this new resource file: &lt;BR /&gt;&lt;BR /&gt;      *loginShell: true&lt;BR /&gt;&lt;BR /&gt;The permissions on this file should be 644 : &lt;BR /&gt;&lt;BR /&gt;      /usr/bin/chmod 644 /etc/dt/config/C/sys.resources&lt;BR /&gt;&lt;BR /&gt;NOTE: If this file already exists, this resource line can be added to the end of the existing file.&lt;BR /&gt;&lt;BR /&gt;To do this on a per-user basis you will need to create the .Xdefaults file in the user's $HOME directory and add the following line to this new resource file: &lt;BR /&gt;&lt;BR /&gt;      *loginShell: true&lt;BR /&gt;&lt;BR /&gt;The permissions on this file should be 644 : &lt;BR /&gt;&lt;BR /&gt;      /usr/bin/chmod 755 $HOME/.Xdefaults&lt;BR /&gt;&lt;BR /&gt;NOTE: If this file already exists, this resource line can be added to the end of the existing file.&lt;BR /&gt;&lt;BR /&gt;Both of these changes will take effect with the next login to CDE. &lt;BR /&gt;&lt;BR /&gt;EXPLANATION &lt;BR /&gt;The *loginShell resource configures the terminal emulators (Dtterm, HPterm, XTerm) to behave as if the user has 'telnet'-ed or 'rlogin'-ed into the system. &lt;BR /&gt;&lt;BR /&gt;This incorporates the default sequence of reading the /etc/profile and similar files when each new terminal window is opened. Therefore, the environment in the shell window will NOT be the same as as that of the standard CDE session (/usr/dt/bin/dtsession). &lt;BR /&gt;</description>
      <pubDate>Fri, 20 Dec 2002 11:12:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-will-not-be-read/m-p/2868487#M97797</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2002-12-20T11:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: .profile will not be read</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/profile-will-not-be-read/m-p/2868488#M97798</link>
      <description>Armin,&lt;BR /&gt;....You Are The Greatest ! ...&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Fri, 20 Dec 2002 11:23:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/profile-will-not-be-read/m-p/2868488#M97798</guid>
      <dc:creator>Zlatko_1</dc:creator>
      <dc:date>2002-12-20T11:23:17Z</dc:date>
    </item>
  </channel>
</rss>

