Dies ist eine alte Version des Dokuments!
date --set "2006-03-26 01:59:30"
oder
date 032601592006
oder
ntpdate pool.ntp.org
Überprüfen:
date
Die Hardwareuhr auf UTC einstellen:
hwclock --systohc --utc
Die Hardwareuhr auf lokale Zeit einstellen:
hwclock --systohc --localtime
Überprüfen:
hwclock --show
find /usr/share/zoneinfo/ -type f -exec md5sum {} \; | grep $(md5sum /etc/localtime | cut -d' ' -f1)
oder
date
man tzfile
Debian ab 3.1
tzconfig
Debian ab 5.0
dpkg-reconfigure tzdata
Mehr Informationen: http://www.debian.org/doc/manuals/system-administrator/ch-sysadmin-time.html
/etc/sysconfig/clock
:
HWCLOCK="-u" TIMEZONE="Europe/Berlin" DEFAULT_TIMEZONE="Europe/Berlin"
/etc/sysconfig/clock
:
ZONE="Europe/Berlin" UTC=true
/etc/default/rcS
:
UTC=yes