<?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: system date gets changed as per user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192294#M165005</link>
    <description>Hi&lt;BR /&gt;          TZ variable cal also be set for individual user with their profiles . Either you can scan the system and get rid off the TZ setting if any on the individual user profiles or set one globally .Ofcourse pls determine what your country TZ should be .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Ex =&amp;gt; export TZ=SAST-2</description>
    <pubDate>Mon, 16 Feb 2004 01:02:05 GMT</pubDate>
    <dc:creator>Sathish C</dc:creator>
    <dc:date>2004-02-16T01:02:05Z</dc:date>
    <item>
      <title>system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192282#M164993</link>
      <description>Hi,&lt;BR /&gt;On my unix server system time gets changed. when i login As root, it shows correct times as &lt;BR /&gt;Sat Feb 14 15:41:58 IST 2004, &lt;BR /&gt;when i login as oracle or other user it shows &lt;BR /&gt;Sat Feb 14 04:57:21 EST 2004&lt;BR /&gt;&lt;BR /&gt;What could be the reason ? how can i change it the same to IST time..</description>
      <pubDate>Sat, 14 Feb 2004 05:16:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192282#M164993</guid>
      <dc:creator>jagdeesh</dc:creator>
      <dc:date>2004-02-14T05:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192283#M164994</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The users timezone is set the /etc/profile (global settings) if the oracle timezone differs from the global timezone, oracle $home/.profile has probably got an other timezone set.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Robert-Jan &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 14 Feb 2004 06:49:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192283#M164994</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-02-14T06:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192284#M164995</link>
      <description>not only oracle user , all users except root i'm facing the problem &lt;BR /&gt;&lt;BR /&gt;ex: &lt;BR /&gt;nbkp|/ub00/oracle&amp;gt;id&lt;BR /&gt;uid=501(oracle) gid=101(dba)&lt;BR /&gt;nbkp|/ub00/oracle&amp;gt;date&lt;BR /&gt;Sat Feb 14 06:55:46 EST 2004&lt;BR /&gt;nbkp|/ub00/oracle&amp;gt;exit&lt;BR /&gt;logout&lt;BR /&gt;# &lt;BR /&gt;# &lt;BR /&gt;# id&lt;BR /&gt;uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)&lt;BR /&gt;# date&lt;BR /&gt;Sat Feb 14 17:26:16 IST 2004&lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 14 Feb 2004 06:57:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192284#M164995</guid>
      <dc:creator>jagdeesh</dc:creator>
      <dc:date>2004-02-14T06:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192285#M164996</link>
      <description>Ok,&lt;BR /&gt;&lt;BR /&gt;Check the file /etc/TIMZONE ?&lt;BR /&gt;&lt;BR /&gt;What is in it ?&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Sat, 14 Feb 2004 07:04:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192285#M164996</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-02-14T07:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192286#M164997</link>
      <description>Hi&lt;BR /&gt;Roots profiles is differnt to user profiles check which profile they are using and set correct Timezone.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Sat, 14 Feb 2004 07:04:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192286#M164997</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2004-02-14T07:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192287#M164998</link>
      <description>Uhh Typo,&lt;BR /&gt;&lt;BR /&gt;Check the file /etc/TIMEZONE ?&lt;BR /&gt;&lt;BR /&gt;What is in it ?&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Sat, 14 Feb 2004 07:04:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192287#M164998</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-02-14T07:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192288#M164999</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;can you post a .profile of one of these users?&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Sat, 14 Feb 2004 07:04:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192288#M164999</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-02-14T07:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192289#M165000</link>
      <description>nbkp|/home/sysadm&amp;gt;id&lt;BR /&gt;uid=137(hpsysdba) gid=20(users)&lt;BR /&gt;$cat .profile&lt;BR /&gt;# @(#) $Revision: 72.2 $ &lt;BR /&gt;&lt;BR /&gt;# Default user .profile file (/usr/bin/sh initialization).&lt;BR /&gt;&lt;BR /&gt;# Set up the terminal:&lt;BR /&gt;if [ "$TERM" = "" ]&lt;BR /&gt;then&lt;BR /&gt;eval ` tset -s -Q -m ':?hp' `&lt;BR /&gt;else&lt;BR /&gt;eval ` tset -s -Q `&lt;BR /&gt;fi&lt;BR /&gt;stty erase "^H" kill "^U" intr "^C" eof "^D"&lt;BR /&gt;stty hupcl ixon ixoff&lt;BR /&gt;tabs&lt;BR /&gt;&lt;BR /&gt;# Set up the search paths:&lt;BR /&gt;PATH=$PATH:.:/usr/sbin&lt;BR /&gt;export PATH&lt;BR /&gt;&lt;BR /&gt;# Set up the shell environment:&lt;BR /&gt;set -u&lt;BR /&gt;trap "echo 'logout'" 0&lt;BR /&gt;# Set up the shell environment:&lt;BR /&gt;set -u&lt;BR /&gt;trap "echo 'logout'" 0&lt;BR /&gt;&lt;BR /&gt;# Set up the shell variables:&lt;BR /&gt;EDITOR=vi&lt;BR /&gt;export EDITOR&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PS1='$hn|$PWD&amp;gt;';export PS1&lt;BR /&gt;umask 027&lt;BR /&gt;&lt;BR /&gt;**********************************************&lt;BR /&gt;nbkp|/etc&amp;gt;ll TIMEZONE &lt;BR /&gt;-r--r--r-- 1 bin bin 22 Feb 14 05:59 TIMEZONE&lt;BR /&gt;nbkp|/etc&amp;gt;pg TIMEZONE &lt;BR /&gt;TZ=IST-5:30&lt;BR /&gt;export TZ&lt;BR /&gt;(EOF):&lt;BR /&gt;.......</description>
      <pubDate>Sat, 14 Feb 2004 07:48:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192289#M165000</guid>
      <dc:creator>jagdeesh</dc:creator>
      <dc:date>2004-02-14T07:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192290#M165001</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;So the /etc/TIMEZONE is correct. check the /etc/profile for the lines simular to below example.&lt;BR /&gt;&lt;BR /&gt;# Set the TIMEZONE&lt;BR /&gt;&lt;BR /&gt;      if [ -r /etc/TIMEZONE ]&lt;BR /&gt;        then&lt;BR /&gt;           . /etc/TIMEZONE&lt;BR /&gt;        else&lt;BR /&gt;&lt;BR /&gt;        TZ=MST7MDT           # change this for local time&lt;BR /&gt;            export TZ&lt;BR /&gt;        fi&lt;BR /&gt;&lt;BR /&gt;and check root's /.profile for the same.&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Sat, 14 Feb 2004 07:54:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192290#M165001</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-02-14T07:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192291#M165002</link>
      <description>Hi, &lt;BR /&gt;# Set the TIMEZONE&lt;BR /&gt;&lt;BR /&gt;        if [ -r /etc/TIMEZONE ]&lt;BR /&gt;        then&lt;BR /&gt;           . /etc/TIMEZONE&lt;BR /&gt;        else&lt;BR /&gt;            TZ=MST7MDT               # change this for local time.&lt;BR /&gt;            export TZ&lt;BR /&gt;        fi&lt;BR /&gt;&lt;BR /&gt;/etc/profile is proper as shown..</description>
      <pubDate>Sat, 14 Feb 2004 08:04:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192291#M165002</guid>
      <dc:creator>jagdeesh</dc:creator>
      <dc:date>2004-02-14T08:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192292#M165003</link>
      <description>If you have the TZ defined in the /etc/profile make sure that the file is world readable.i.e r--r--r-- /etc/profile.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if the timezone is defined there are users are unable to read it then it would be a problem.&lt;BR /&gt;&lt;BR /&gt;/etc/profile should be referenced by sh,ksh users.If you are having users with csh then also make sure that /etc/csh.login has a definition to that</description>
      <pubDate>Sun, 15 Feb 2004 05:23:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192292#M165003</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-02-15T05:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192293#M165004</link>
      <description>TZ is different in root which you can see from the date command. It is IST for root but EST for other users. The simplest way find where it is not handled correctly is to grep TZ in the login profiles for the users. For sh, ksh users, /etc/profile is followed by .profile in the user's $HOME directory. For csh users, /etc/csh.login is followed by .cshrc in $HOMNE. Note that other files may be sourced (.kshrc .login etc) depending on options.&lt;BR /&gt; &lt;BR /&gt;This should find where TZ is set:&lt;BR /&gt; &lt;BR /&gt;grep TZ /etc/profile /etc/csh.login&lt;BR /&gt;cd ~user-name&lt;BR /&gt;grep TZ .profile .login&lt;BR /&gt; &lt;BR /&gt;Be sure to cd to root and also to a couple of users. If TZ is only set in /etc/profile and /etc/csh.login, then someone has changed the permissions for /etc/TIMEZONE have been altered (not good). Verify this by logging in as a normal user and type the command:&lt;BR /&gt; &lt;BR /&gt;. /etc/TIMEZONE&lt;BR /&gt; &lt;BR /&gt;If you get permission denied, someone with the root password has changed the permissions. /etc/TIMEZONE should be 444 permission (read for everytone).&lt;BR /&gt;</description>
      <pubDate>Sun, 15 Feb 2004 22:32:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192293#M165004</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-02-15T22:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192294#M165005</link>
      <description>Hi&lt;BR /&gt;          TZ variable cal also be set for individual user with their profiles . Either you can scan the system and get rid off the TZ setting if any on the individual user profiles or set one globally .Ofcourse pls determine what your country TZ should be .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Ex =&amp;gt; export TZ=SAST-2</description>
      <pubDate>Mon, 16 Feb 2004 01:02:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192294#M165005</guid>
      <dc:creator>Sathish C</dc:creator>
      <dc:date>2004-02-16T01:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192295#M165006</link>
      <description>Check to see if users, other then root, can access /etc/TIMEZONE. It contains the right information but for some reason is not used by the users... What you can do to test is, as a normal user:&lt;BR /&gt;$ . /etc/TIMEZONE&lt;BR /&gt;$ date&lt;BR /&gt;&lt;BR /&gt;If that doesn't work, you might check rights on /etc itself...&lt;BR /&gt;&lt;BR /&gt;If it does work, start looking for run scripts related to shells. Those are called .bashrc or .kshrc, depending on the shell they use.&lt;BR /&gt;&lt;BR /&gt;But there is one other thing that beats me: if /etc/TIMEZONE is not readable, the default TIMEZONE would be MDT or MST, not EST. So it seems somewhere the TIMEZONE variable is overruled. But I'm missing parts of your .profile, because I see no definition of the 'hn' enviroronment variable, used in your prompt, so maybe the place where that gets set is also the place where TIMEZONE is overruled...&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Feb 2004 01:30:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192295#M165006</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-02-16T01:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192296#M165007</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;does anyone work with CDE or is there any other login, where /etc/profile isn't used?&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Feb 2004 09:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192296#M165007</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-02-17T09:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192297#M165008</link>
      <description>Unfortunately, Xwindows seems to assume that you would NEVER want to login with a character mode window. With all that GUI power, the only reason to use Xwindows is to run graphics drawing programs. 8-(&lt;BR /&gt; &lt;BR /&gt;So the default is never to run a 'normal' profile at login when using CDE or VUE. However, there are two easy fixes:&lt;BR /&gt; &lt;BR /&gt;1. Don't use CDE or VUE, especially when running it on a non-Xwindows machine like a PC. Use a local telnet or ssh client such as WRQ's Reflection terminal (not Reflection/X) product, QCterm (freebie but no ssh) or similar.&lt;BR /&gt; &lt;BR /&gt;2. Create .Xdefaults in the $HOME directory where you login. You can include all sorts of decoration information but the most important is the loginShell details:&lt;BR /&gt;&lt;BR /&gt;*loginShell: true &lt;BR /&gt;HPterm*background: navy &lt;BR /&gt;HPterm*foreground: white&lt;BR /&gt;HPterm*saveLines: 10s &lt;BR /&gt;HPterm*scrollBar: true &lt;BR /&gt;&lt;BR /&gt;Xterm*background: darkslateblue &lt;BR /&gt;Xterm*foreground: white &lt;BR /&gt;Xterm*saveLines: 10s &lt;BR /&gt;Xterm*scrollBar: true &lt;BR /&gt;&lt;BR /&gt;Dtterm*saveLines: 10s &lt;BR /&gt;Dtterm*scrollBar: true&lt;BR /&gt; &lt;BR /&gt;This file (.Xdefaults) must be stored in the machine where you run CDE or VUE. As you start CDE or VUE (or simply start hpterm, xterm or dtterm), they will inherit these settings as appropriate. You'll see some references to .dtprofile and a resource setting DTSOURCEPROFILE=true. Unfortunately, this is an incomplete solution (never runs /etc/profile) so don't bother with .dtprofile.</description>
      <pubDate>Tue, 17 Feb 2004 09:26:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192297#M165008</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-02-17T09:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: system date gets changed as per user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192298#M165009</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;does ln /etc/profile /etc/dt/config/Xsession.d/profile&lt;BR /&gt;chmod +rx /etc/dt/config/Xsession.d/profile&lt;BR /&gt;change anything?&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Feb 2004 10:40:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-date-gets-changed-as-per-user/m-p/3192298#M165009</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-02-17T10:40:06Z</dc:date>
    </item>
  </channel>
</rss>

