Re: chronyc serverstats => 501 not autorized

Gerd Hoerst <[email protected]> Tue, 18 Nov 2025 15:04:11 +0100
Newsgroups gmane.comp.time.chrony.user
Message-ID <[email protected]>
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-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]