LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Greg Lehey <grog@lemis.com>
  To  : Darryl Ross <dross@syc.asn.au>
Dave Lovett <dlovett@gofree.co.uk>
Linuxsa <linuxsa@linuxsa.org.au> Date: Tue, 30 Jan 2001 12:24:50 +1030

Re: Time Zones

[Format recovered--see http://www.lemis.com/email/email-format.html]

Your reply was one line per paragraph.

On Tuesday, 30 January 2001 at  6:42:09 +1030, Darryl Ross wrote:
> On Mon, Jan 29, 2001 at 06:13:03PM -0000, Dave Lovett wrote:
>> G'day,
>>
>> Could someone tell me how to change the time zone on my RedHat 6.2 machine.
>> I've done it before but completely forgotten how.
>
> 'timetool' is used to set up the date and time I believe. If you
> didn't install that program, then have a look at
> /etc/sysconfig/clock, or if you just want to set it for one user
> instead of system wide, then you want to set the environment variable
> TZ for that user.

More generally, the time zone files are stored in /usr/share/zoneinfo
on all Linux and BSD systems that I've seen.  To set the time zone,
do:

  # cp /usr/share/zoneinfo/Australia/Adelaide /etc/localtime

I don't see a need for a distribution-specific obfuscation of this
simple command.

Greg
--
When replying to this message, please take care not to mutilate the
original text.
For more information, see http://www.lemis.com/email.html
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page