Wednesday, January 6, 2010

Ntpd on Solaris 10

This is easy.

Here are the steps (all done as root):

1. Copy /etc/inet/ntp.server to /etc/inet/ntp.conf, and then edit ntp.conf to comment out the “server” and “fudge” lines. Add a line to the bottom of the file,

server timeservername

Like,

server tick.usno.navy.mil

2. Create a drift file,

touch /var/ntp/ntp.drift

3. Initialize the ntpd service,

svcadm enable svc:/network/ntp