Tasks
WorkingwithGeneric NTPDevices
This topic provides a starting point for users to work with NTP on a UNIX or Linux operating
system. For more information, consult the manufacturer's documentation or search online
for information about a particular device or operating system.
Log in as the
root
user.
The NTP configuration file, ntp.conf, is usually located at /etc/ntp.conf.
If needed, use the
find
command to locate a file under the current directory. The find com-
mand syntax is "find -name <filename>". For example, change directories by entering:
cd /
Then search for ntp.conf by entering:
find -name ntp.conf
Edit ntp.conf. For example, enter:
joe /etc/ntp.conf
Add associations to the ntp.conf file as described in specific NTP topics.
Save the changes to ntp.conf.
Restart the NTP daemon. The commands vary from system to system, but here are some
examples:
ntpd -g -N
ntpd -g
/etc/init.d/ntpd restart
service ntpd restart
/etc/rc.d/init.d/ntpd restart
Otherwise, restart NTP by rebooting the operating system. This can usually be accom-
plished by entering:
shutdown -r now
To check NTP status, use the
ntpq
utility, included among the standard NTP packages.
UsingNTPAuthentication
NTP uses authentication to prevent spoofing, intercept, and replay-type attacks. The two
standard methods of NTP authentication are available on the SyncServer:
n
MD5 keys, a form of symmetric key cryptography.
n
Autokey, a form of public key cryptography.
Only one method can be used at a time; MD5 keys and Autokey cannot be used concurrently
on the SyncServer.
Note: Log in to the SyncServer securely (https/port 443) when configuring NTP authen-
tication. Also see
Enabling Secure Login
(on page 164).
Page 160
..........................................................................
997-01520-02 Rev. F1