System time correct for root, wrong for normal user?
My system time for root is correct, but for my normal user account it is wrong. The time in the BIOS is correct as well. I ran timeconfig as root and set the hardware clock to localtime and then set the correct timezone. Again as root the time is correct, when I run date as root I get this:
Quote:
Quote:
As root I can change the time with date -s xx:xx but when I try as a normal user I get "operation not permitted". I understand I am probably getting this error becuase I am trying to change the global system time as a normal user.. so how do I go about setting the correct time for my normal user account? It seems like there should be some kind of a command I can enter as root that will change the time for all users. :confused: |
Take a look at /etc/localtime:
Code:
ls -l /etc/localtime Or as root run: Code:
echo $TZ Code:
export TZ=EDT Regards |
Thanks
Thanks bathory I did chmod 644 /etc/localhost as root and now the time is correct as a normal user.
Thanks again. |
All times are GMT -5. The time now is 06:06 AM. |