Some one else may have already done this - but here goes anyway.

I have applied it, rebuilt chrony and installed it with a user
configuration entry and verified that it starts up chrony running as
that user
and it is still fetching the time.

sudo adduser --no-create-home --disabled-password  --disabled-login chrony
# Add option: user chrony
sudo vi /etc/chrony/chrony.conf
sudo service chrony stop
sudo service chrony start

# Verified with:
vagrant@debian-jessie:~$ ps -C chronyd -o pid,user,uid,gid
  PID USER       UID   GID
 1375 chrony    1001  1001

I will look next at trying to add this as a default option - as
suggested using user ntp - as per ntp package I guess.

Let me know if there is anything else I should do?

Thanks
Andrew
git diff HEAD~ HEAD
diff --git a/chrony-1.30/debian/control b/chrony-1.30/debian/control
index c350027..81df18c 100644
--- a/chrony-1.30/debian/control
+++ b/chrony-1.30/debian/control
@@ -8,7 +8,8 @@ Build-Depends: debhelper (>= 9),
  texinfo, bison,
  libedit-dev,
  libnss3-dev,
- libtomcrypt-dev
+ libtomcrypt-dev,
+ libcap-dev
 Homepage: http://chrony.tuxfamily.org
 Vcs-Git: git://anonscm.debian.org/collab-maint/chrony.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/chrony.git

Reply via email to