[1623] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Clock question

daemon@ATHENA.MIT.EDU (B. Shilliday)
Tue Oct 29 11:04:16 1996

Date: Tue, 29 Oct 1996 15:05:57 +0000
From: "B. Shilliday" <redhat@nibelung.demon.co.uk>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Paul Waldo wrote:
> 
> When installing RH 4.0, I thought I'd be "cosmopolitan" and use UTC for
> my clock rather than local time.  This does not work very well, as
> everything shows the wrong time, except /sbin/clock.  How can I get all
> of the rest of the system to realize I am using UTC (like "date"), or
> switch back to local time?  Thanks!

Change /etc/sysconfig/clock to say
CLOCKMODE="local"

and make /etc/localtime a symbolic link to the appropriate file in
/usr/lib/zoneinfo.  Eg, for me it would be:
ln -s ../usr/lib/zoneinfo/GB localtime

Barry


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post