Re: [chrony-dev] cmdmon authentication is gone

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


> On 22/08/2015, at 2:24 am, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
> 
> Out of curiosity, do you know if Mac OS X is one of the systems that
> ignores permissions on Unix sockets like Solaris? Can chronyc still
> connect when you do "chmod 000 /var/run/chrony/chronyd.sock"?
> 
> 

after chmod 000 /var/run/chrony/chronyd.sock
sh-3.2# ls -lrt
total 0
s---------  1 root  wheel  0 22 Aug 01:44 chronyd.sock

Permissions are ignored by root

sh-3.2# chronyc -d tracking
Resolved 127.0.0.1 to 127.0.0.1
Resolved ::1 to ::1
Opening connection to /var/run/chrony/chronyd.sock


Permissions are respected for user

number9:~ bryan$ chronyc -d tracking
Resolved 127.0.0.1 to 127.0.0.1
Resolved ::1 to ::1
Opening connection to /var/run/chrony/chronyd.sock
Could not connect socket : Permission denied
Opening connection to 127.0.0.1:323

-- 
Bryan Christianson

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


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