Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

19.11. 禁用 chrony

要使用 ntpd 默认用户空间守护进程,必须停止并禁用 chronyd。以 root 用户身份运行以下命令:

~]# systemctl stop chronyd

要防止它在系统启动时重启,以 root 用户身份运行以下命令:

~]# systemctl disable chronyd

运行以下命令检查 chronyd 的状态:

~]$ systemctl status chronyd