apt install ntpsec
vi /etc/ntpsec/ntp.conf
#pool 0.debian.pool.ntp.org iburst #pool 1.debian.pool.ntp.org iburst #pool 2.debian.pool.ntp.org iburst #pool 3.debian.pool.ntp.org iburst pool 0.fr.pool.ntp.org iburst pool 1.fr.pool.ntp.org iburst pool 2.fr.pool.ntp.org iburst pool 3.fr.pool.ntp.org iburst
systemctl restart ntpsec.service
ntpq -p
systemctl status ntpsec
journalctl -u ntpsec.service
statistics directory /var/log/ntpsec/ does not exist or is unwriteable, error No such file or directory
alors créer le dossier suivant qui semble manquant : mkdir /var/log/ntpsec; chown root:ntpsec; chmod 775 /var/log/ntpsec
apt install ntp
vi /etc/ntp.conf
ntpq -p
systemctl status ntp
dpkg-reconfigure tzdata
timedatectl
timedatectl set-timezone "Europe/Paris"
timedatectl
zdump
et zic
date
et/ou timedatectl
(si la commande zic
a été lancée)