Hacker has been able to change local time.
I tried to manually change local time using
*
sudo timedatectl set-time “2022-10-20 16:57:00”
Error says automatic sync enabled.
STEP2:: Then i tried to set hardware clock time to system time
sudo hwclock --systohc
It did not sync local time with hardware clock which is HKT
STEP3 ::sudo systemctl start systemd-timesyncd.service
STEP4:: sudo timedatectl show-timesync --all
Result as below
LinkNTPServers=
SystemNTPServers=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org
RuntimeNTPServers=
FallbackNTPServers=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org
ServerName=3.arch.pool.ntp.org
ServerAddress=192.46.215.60
RootDistanceMaxUSec=5s
PollIntervalMinUSec=32s
PollIntervalMaxUSec=34min 8s
PollIntervalUSec=8min 32s
Frequency=0
STEP5::sudo timedatectl timesync-status
Server: 192.46.215.60 (3.arch.pool.ntp.org)
Poll interval: 8min 32s (min: 32s; max 34min 8s)
Packet count: 0
STEP6::sudo timedatectl status
Local time: Fri 2022-10-21 01:52:21 HKT
Universal time: Thu 2022-10-20 17:52:21 UTC
RTC time: Thu 2022-10-20 17:52:21
Time zone: Asia/Hong_Kong (HKT, +0800)
System clock synchronized: no
NTP service: active
RTC in local TZ: no
STEP7::sudo systemctl enable systemd-networkd
STEP8::sudo timedatectl set-ntp true
Note::
ntpsec package installed from yay.
Not ntp package
Please help me to correct local time back to HKT
Hardware clock is set to HKT not GMT
Now UTC is HKT
and
Local time is 6 Hrs Behind HKT.
That is GMT+2.