LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Time Zone issue (https://www.linuxquestions.org/questions/linux-server-73/time-zone-issue-4175417240/)

Iyyappan 07-17-2012 01:37 PM

Time Zone issue
 
In Redhat 5.7, I have 2 users one root and a user.

In root when I type date, I get

Tue Jul 17 20:33:59 CEST 2012


In Another user, when I type date I receive the following

Tue Jul 17 18:33:15 UTC 2012


I need to update CEST time zone for the non root user too. How come time zone is different for 2 different users in same machine. I want the time zone to be changed without rebooting the box. Clock in sysconfig is set to Europe only

/etc/sysconfig/clock
ZONE="Europe/Budapest"
UTC=true
ARC=false

yancek 07-17-2012 02:46 PM

You get: Tue Jul 17 18:33:15 UTC 2012
because you have in your clock file: UTC=true when it should be: UTC=false

I have no idea why you get different times for user and root?

Iyyappan 07-17-2012 02:56 PM

ok I created a link between /usr/share/timezone/Europe/Budapest /etc/localtime it worked.

ashujain13 07-25-2012 07:58 PM

Not able to change "UTC=true to UTC=false"

it says read only mode.

Can any one help me please please please

Iyyappan 08-02-2012 04:17 AM

You should have root privileges to do this.


All times are GMT -5. The time now is 05:01 PM.