501 Not authorised

发布时间 2023-04-13 12:31:00作者: 罗论明

相关连接:chrony

4.2. I keep getting the error 501 Not authorised
This error indicates that chronyc sent the command to chronyd using a UDP socket instead of the Unix domain socket (e.g. /var/run/chrony/chronyd.sock), which is required for some commands. For security reasons, only the root and chrony users are allowed to access the socket.

It is also possible that the socket does not exist. chronyd will not create the socket if the directory has a wrong owner or permissions. In this case there should be an error message from chronyd in the system log.