Stuart Maclean
2018-02-20 20:46:38 UTC
My chrony.conf file is this:
refclock SOCK /var/run/chrony.serial.sock refid CSAC noselect
refclock SOCK /var/run/chrony.pps.sock refid PPS lock CSAC
When I start chronyd (version 3.2) at boot, it creates
/var/run/chrony.serial.sock
and
/var/run/chrony.pps.sock
with read + write permissions for root only.
I have a client program which uses the two sockets above. It needs
write permissions I think, in order to write data to chronyd.
I would like to run my client as a regular user, since it has no need
for root privs other than to write to this socket.
Is there any way to do this? Can chronyd create/open the socket paths
with a more liberal write access?
Any help appreciated.
Stuart
refclock SOCK /var/run/chrony.serial.sock refid CSAC noselect
refclock SOCK /var/run/chrony.pps.sock refid PPS lock CSAC
When I start chronyd (version 3.2) at boot, it creates
/var/run/chrony.serial.sock
and
/var/run/chrony.pps.sock
with read + write permissions for root only.
I have a client program which uses the two sockets above. It needs
write permissions I think, in order to write data to chronyd.
I would like to run my client as a regular user, since it has no need
for root privs other than to write to this socket.
Is there any way to do this? Can chronyd create/open the socket paths
with a more liberal write access?
Any help appreciated.
Stuart
--
To unsubscribe email chrony-users-***@chrony.tuxfamily.org
with "unsubscribe" in the subject.
For help email chrony-users-***@chrony.tuxfamily.org
with "help" in the subject.
Trouble? Email ***@chrony.tuxfamily.org.
To unsubscribe email chrony-users-***@chrony.tuxfamily.org
with "unsubscribe" in the subject.
For help email chrony-users-***@chrony.tuxfamily.org
with "help" in the subject.
Trouble? Email ***@chrony.tuxfamily.org.