ikigaihono

Q: Mac Mini NTPD Authentication Issue

In terminal when I issue the /etc/ntp.conf command it ask for my password and stated "access denied"

Previously  I amended the ntp servers in this config and committed a change. It seems the restrict

policy enforced this block. How can I reset this service to default or regain access to /etc/ntp.config?

 

Also is there any updated SOP or procedure to implement NTP in OSX Server for El Capitan?

 

Message was edited by: ikigaihono

Mac mini, OS X El Capitan (10.11.3), null

Posted on Mar 16, 2016 4:45 PM

Close

Q: Mac Mini NTPD Authentication Issue

  • All replies
  • Helpful answers

  • by Linc Davis,

    Linc Davis Linc Davis Mar 16, 2016 7:23 PM in response to ikigaihono
    Level 10 (207,963 points)
    Applications
    Mar 16, 2016 7:23 PM in response to ikigaihono

    I issue the /etc/ntp.conf command

    What command, exactly?

  • by John Lockwood,

    John Lockwood John Lockwood Mar 17, 2016 3:47 AM in response to ikigaihono
    Level 6 (9,309 points)
    Servers Enterprise
    Mar 17, 2016 3:47 AM in response to ikigaihono

    /etc/ntp.conf is not a command it is the actual configuration file and while it can be read by normal users it can only be modified via sudo.

     

    Potential commands related to the above file are /usr/bin/ntpq which is mainly intended for querying a remote ntpd server, the actual /usr/sbin/ntpd server itself, and /usr/sbin/ntpdate which is also intended for telling a Mac to update its clock based on the clock of a ntpd server.

     

    Note: There is a second related configuration file at /etc/ntp-restrict.conf, if your using an Open Directory server then there is a third configuration file which you should not touch as it is automatically configured by Open Directory.

  • by ikigaihono,

    ikigaihono ikigaihono Mar 19, 2016 10:16 AM in response to Linc Davis
    Level 1 (4 points)
    Mac OS X
    Mar 19, 2016 10:16 AM in response to Linc Davis

    Line Davis, John Lockwood

     

    Hi, Thank You for the advice. I think I locked myself out of the NTPD which caused the deny access restriction.
    I found an alternate method for NTP, PFSense. It worked like a charm