<?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: How could .profile be changed? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959606#M415442</link>
    <description>Deepu,&lt;BR /&gt;&lt;BR /&gt;Are the env settings changed after you login or is the user changing the file?&lt;BR /&gt;&lt;BR /&gt;If the user is changing the .profile, you could change the ownership and the permissions of the file.&lt;BR /&gt;&lt;BR /&gt;# cd /home/abc&lt;BR /&gt;# chown root:sys .profile&lt;BR /&gt;# chmod 444 .profile&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
    <pubDate>Tue, 14 Feb 2006 04:52:10 GMT</pubDate>
    <dc:creator>Robert-Jan Goossens_1</dc:creator>
    <dc:date>2006-02-14T04:52:10Z</dc:date>
    <item>
      <title>How could .profile be changed?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959601#M415437</link>
      <description>I have one login user like 'abc' which have .profile. I have put specific env for the user. But somehow its gets changed after sometime and original settings coming into effect, overriding the changes I have made.&lt;BR /&gt;&lt;BR /&gt;I am not able to figure out how the .profile is getting changed.&lt;BR /&gt;&lt;BR /&gt;Help is required to resolve the problem.  "The changes I have made in .profile should be permanent and should not get changed."</description>
      <pubDate>Tue, 14 Feb 2006 04:37:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959601#M415437</guid>
      <dc:creator>Deepu Chakravarty</dc:creator>
      <dc:date>2006-02-14T04:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: How could .profile be changed?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959602#M415438</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;The specific env in .profile is not in /etc/profile ?  Make sure, it is not. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 14 Feb 2006 04:41:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959602#M415438</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-14T04:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: How could .profile be changed?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959603#M415439</link>
      <description>Hi,&lt;BR /&gt;which shell is the user login into? The .profile file is not the only one used.&lt;BR /&gt;You could also switch debug on to trace what is happening.</description>
      <pubDate>Tue, 14 Feb 2006 04:43:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959603#M415439</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-02-14T04:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: How could .profile be changed?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959604#M415440</link>
      <description>Are you saying that .profile setting is not available in the same shell? &lt;BR /&gt;&lt;BR /&gt;We can change / modify the default environment variable in the shell. When ever you try to use subshell then it will have only default settings not the .profile changed settings. If you are going to use sub shell then try as,&lt;BR /&gt;&lt;BR /&gt;. $HOME/.profile&lt;BR /&gt;&lt;BR /&gt;it is enough. You can use .profile changed env variables.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Tue, 14 Feb 2006 04:45:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959604#M415440</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-14T04:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: How could .profile be changed?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959605#M415441</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Check the shell which user logged in and did the shell got changed afterwards ? &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 14 Feb 2006 04:48:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959605#M415441</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-14T04:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: How could .profile be changed?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959606#M415442</link>
      <description>Deepu,&lt;BR /&gt;&lt;BR /&gt;Are the env settings changed after you login or is the user changing the file?&lt;BR /&gt;&lt;BR /&gt;If the user is changing the .profile, you could change the ownership and the permissions of the file.&lt;BR /&gt;&lt;BR /&gt;# cd /home/abc&lt;BR /&gt;# chown root:sys .profile&lt;BR /&gt;# chmod 444 .profile&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Tue, 14 Feb 2006 04:52:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959606#M415442</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2006-02-14T04:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: How could .profile be changed?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959607#M415443</link>
      <description>Thanks for the replies.&lt;BR /&gt;&lt;BR /&gt;1.User is not changing the settings as the .profile has root permissions.&lt;BR /&gt;2.After I change the required settings and login in the changed settings, it shows the changed env for sometime.  But the next day I login to the same user, the .profile came into the old .profile settings and date stamp is 15-Jun-2005 (when actually this user was first created).</description>
      <pubDate>Tue, 14 Feb 2006 05:03:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959607#M415443</guid>
      <dc:creator>Deepu Chakravarty</dc:creator>
      <dc:date>2006-02-14T05:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: How could .profile be changed?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959608#M415444</link>
      <description>Hi,&lt;BR /&gt;is it possible you have a cron job scheduled to copy an original .profile? If the copy happens it would not change the datestamp.</description>
      <pubDate>Tue, 14 Feb 2006 05:41:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959608#M415444</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-02-14T05:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: How could .profile be changed?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959609#M415445</link>
      <description>Dear Gordon,&lt;BR /&gt;You are right.  One old cron job was still running and it was to restore backups for cloning purposes. Since the restored data was full backup of the applications, it was also included the $HOME of the applications user. "The job was to run in the morning 10 a.m. which was earlier used to restore backups in test env."  But somehow it was forgotten to switch off the job after the required restoration.  So the cron job is running every morning at 10 a.m. and again and again copying all files including the .profile.&lt;BR /&gt;Now I have disabled the cron job.&lt;BR /&gt;Thanks for the good info.</description>
      <pubDate>Tue, 14 Feb 2006 06:48:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959609#M415445</guid>
      <dc:creator>Deepu Chakravarty</dc:creator>
      <dc:date>2006-02-14T06:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: How could .profile be changed?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959610#M415446</link>
      <description>Thanks.  The solution is provided.</description>
      <pubDate>Tue, 14 Feb 2006 06:52:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-could-profile-be-changed/m-p/4959610#M415446</guid>
      <dc:creator>Deepu Chakravarty</dc:creator>
      <dc:date>2006-02-14T06:52:36Z</dc:date>
    </item>
  </channel>
</rss>

