Re: [chrony-users] chronyc serverstats => 501 not autorized

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


Hi !

-u USER Specify user (root)
chronyc -u root serverstats also "501 not authorised"
(sholdnt it be written authorized ??? )

Ciao Gerd

Am 18.11.2025 14:49, schrieb Miroslav Lichvar:
On Tue, Nov 18, 2025 at 02:44:17PM +0100, Gerd Hoerst wrote:
Its v 4.8

In 4.8 chronyc can drop root privileges automatically. What does
"chronyc --help | grep user" print?

Does chronyc -u root serverstats work?

/var/run/chrony/chronyd.sock exists
its owned by user:group _chrony:chrony and has mode 755
(dir /var/run/chrony same owner:group but mode 700)
calling chronyc strace ends in:
Could not bind/connect client to unix socket

Is there a specific error like permission denied?

--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject. For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/