Saturday, January 6, 2007

Quicktip - disable your time and date from being reset to UTC in Ubuntu

I recently had a friend using Ubuntu who’s time/date was constantly being set back to UTC, much to her frustration.


Here’s how to change this behavior.


First, we’re going to modify (and make a backup of) your rcS file in the /etc/default directory.


sudo cp /etc/default/rcS /etc/default/rcS.bak



gksudo gedit /etc/default/rcS



Look for the line that says:


UTC=yes



and change it to:


UTC=no



Now, save the file and go to System - Administration - Time and Date and set your info to the correct time and date.


Lastly let’s restart the hardware clock


sudo /etc/init.d/hwclock.sh restart



You should be at the correct time and date now.





powered by performancing firefox

No comments: