[ntp:questions] Need Help Getting Stats to Work

Steve Kostecke kostecke at ntp.org
Thu Oct 4 19:18:37 UTC 2007


On 2007-10-04, Rob <pse at nospam.com> wrote:
> Steve wrote:
>
>> Is that directory writable by the ntpd user?
>
> I didn't think one needed a ntpd user.  I don't see one in /etc/passwd

Some people prefer to run ntpd as a non-root user. This is done with the
'-u' commandline option.

> I can create one if needed.  

It's only neccessary if you want it.

> But since ntpd is being run during my init script as root,

It is if it's not started with '-u UID:GID'.

> it should have all the privileges to write into a directory owned by
> root.

If that's the case try the trailing slash suggestion.

-- 
Steve Kostecke <kostecke at ntp.org>
NTP Public Services Project - http://support.ntp.org/




More information about the questions mailing list