K
K
Kamil2019-04-24 13:16:57
linux
Kamil, 2019-04-24 13:16:57

date time returns date back, how to fix?

It costs Deb 9.8, and the Moscow belt, the machine is clean vdska (not a virtual machine)
When you try to change the date, for example: date 042620152019.30, literally in a second it returns the belt back to the Moscow time.
How to remove this return?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
alfss, 2019-04-24
@alfss

I believe the problem is that you are changing the time, but you need to change the timezone.
https://linuxize.com/post/how-to-set-or-change-tim...

K
ky0, 2019-04-24
@ky0

What is "pure vdska (not virtual)"? VDS is a virtual machine and it can easily synchronize the clock with the node. Google hwclocketc.

K
Kamil, 2019-04-24
@Lakika

Solved the problem by disabling systemd-timesyncd sync
Thought about ntp without thinking about systemd
# systemctl stop systemd-timesyncd
# systemctl disable systemd-timesyncd

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question