System Administration Guide: Network Services
Previous Next

Managing Network Time Protocol (Tasks)

The following procedures show how to set up and use the NTP service.

How to Set Up an NTP Server

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services. To configure a role with the Primary Administrator profile, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.

  2. Create the ntp.conf file.

    To ensure proper execution of the xntpd daemon, the ntp.conf file must first be created. The ntp.server file can be used as a template.

    # cd /etc/inet
    # cp ntp.server ntp.conf
  3. Start the xntpd daemon.
    # svcadm enable network/ntp

How to Set Up an NTP Client

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services. To configure a role with the Primary Administrator profile, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.

  2. Create the ntp.conf file.

    To activate the xntpd daemon, the ntp.conf file must first be created.

    # cd /etc/inet
    # cp ntp.client ntp.conf
  3. Start the xntpd daemon.
    # svcadm enable network/ntp
Previous Next