Go to main content

Managing Clock Synchronization in Oracle® Solaris 11.4

Exit Print View

Updated: January 2019

How to Set Up NTP on a Oracle Solaris System

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.

  2. Copy the ntp.client file to use as a template for the ntp.conf file.
    # cd /etc/inet
    # cp ntp.client ntp.conf

    The ntp.client and ntp.server files give examples of many configuration options for ntpd. More information is available in the ntp.conf(5) man page.

    Note -  You must use the pfedit command to edit the ntp.conf file.
  3. Make site-specific changes to the ntp.conf file as needed.
  4. (Server-only) Add information from the ntp.server file to the ntp.conf file.
  5. Start the ntpd daemon.
    # svcadm enable ntp