[CLUE-Cert] Timezone question
Kevin Cullis
kevincu at orci.com
Wed Feb 28 13:34:28 MST 2001
We had this question almost a year ago and you can set your clock via a
TCP time server using simple command line.
> Under slackware there was a good old netdate command:
>
> netdate -v tcp time.nist.gov
> clock -w
>
> Under Red Hat you use the rdate command:
>
> rdate -s time.nist.gov
> clock -w
>
> I don't know about other distributions. Also these methods may be less
> accurate than using NTP, since NTP is specifically designed as a
> high-quality network time protocol. You need to be root to run rdate -s
> and clock -w of course.
>
> The clock -w there writes the Linux (NIST) time to the motherboard (CMOS)
> clock, as I understand it. If you want the Linux (NIST) time to be on
> the motherboard clock (in the unlikely even you have to reboot your Linux
> system) then the clock -w is a good idea.
>
> Thanks to NIST for providing such a nifty service!! I use it all the
> time. (No pun!)
>
This is from Jim Ockers, so you can thank him for the info.
Kevin
"Batalden, Eric" wrote:
>
> it is correct, we are on standard time. i think the question is do you want
> your clock to correct for daylight savings.
>
> E
>
> i am not sure how to do this, i believe one place to control this is in the
> BIOS.
>
> -----Original Message-----
> From: Sean LeBlanc [mailto:seanleblanc at home.com]
> Sent: Wednesday, February 28, 2001 1:09 PM
> To: clue-cert at clue.denver.co.us
> Subject: [CLUE-Cert] Timezone question
>
> What's the best/simplest way to set the timezone in Linux?
> Currently, we have a machine at work that displays its timezone
> as MST, we want it to be Mountain Daylight Saving so that time
> is correct.
>
> We tried linuxconf, since it's a RH 6.x or 7.0 box, but that
> didn't seem to do it - the tool was acting a bit strange,
> and seems to be stopping and starting services that seem
> to be unrelated, but I'm not sure.
>
> Cheers,
More information about the clue-cert
mailing list