Setting NTP Server on Solaris 9 part1
1. Create the ntp.conf file:
# cp /etc/inet/ntp.server ntp.conf
2. Update the ntp.conf file if you need to add more privileges for the NTP server:
# vi /etc/inet/ntp.conf
server 127.127.1.0 prefer
fudge 127.127.1.0 stratum 0
broadcast 224.0.1.1 ttl 4
driftfile /var/ntp/drift
3. Change the ownership of the ntp.conf file:
# chown root:root /etc/inet/ntp.conf
# chmod 600 /etc/inet/ntp.conf
4. Create the drift file, which is a file that contains the amount of clock error computed by the NTP daemon:
# touch /var/ntp/drift
# chown root:root /var/ntp/drift
# chmod 600 /var/ntp/drift
5. Start the NTP daemon:
# /etc/init.d/xntpd start