Argh - setting timezone from command line in FC
Paul Lussier
p.lussier at comcast.net
Tue Feb 14 22:40:01 EST 2006
Python <python at venix.com> writes:
> On Tue, 2006-02-14 at 16:27 -0500, Drew Van Zandt wrote:
>> All the references I can find via google tell me how easy it is to set
>> the server time zone with the grapohical tool... how do I do it from
>> the command line in FC3?
>
> tzselect it will prompt you
On a debian system I see:
$ apropos timezone
Time::Zone (3pm) - - miscellaneous timezone manipulations routines
timezone (3) [tzset] - initialize time conversion information
tzconfig (8) - set the local timezone
tzcoord.pl (1) - script that prints coordinates of a named timezone
tzselect (1) - view timezones
tzsetup (8) - set the local timezone
So, it would seem that tzconfig and tzsetup are the ones most likely to help.
But why two programs? Further investigation reveals:
$ dpkg -S `which tzsetup`;dpkg -S `which tzconfig`
base-config: /usr/sbin/tzsetup
libc6: /usr/sbin/tzconfig
$ ls -l /usr/sbin/tz
tzconfig tzsetup
$ ls -l /usr/sbin/tz*
-rwxr-xr-x 1 root root 3142 2004-10-01 02:26 /usr/sbin/tzconfig
-rwxr-xr-x 1 root root 4854 2002-05-01 15:19 /usr/sbin/tzsetup
Very strange indeed. From the man pages, it appears that tzsetup is
by a different author (Joey Hess) than tzconfig and tzselect (Marcus
Brinkman). I don't think that's helpful though :)
--
Seeya,
Paul
More information about the gnhlug-discuss
mailing list