Technical data

Configuring and Managing NTP
12.7 NTP Authentication Support
The fields are:
key-ID, which is an arbitrary, unsigned 32-bit number (in decimal). The range
of possible values is 1 to 15. Key IDs are specified by the
requestkey
and
controlkey
statements in the configuration file. The key ID number 0 (56
zero bits) is reserved; it is used to indicate an invalid key ID or key value.
key-type, which identifies the type of key value. Only one key format, ‘‘M,’ is
currently supported. This indicates that the MD5 authentication scheme is
being used.
key-value, which is an ASCII string of one to eight characters. The following
characters are not allowed:
space
pound sign (#)
\t
\n
\0
Because this file contains authorization data, Compaq recommends that you limit
read access to this file. In particular, you should disable world read access.
The following is a sample keys file:
#
#
4 M DonTTelL
6 M hElloWrl
12 M ImASecrt
12.8 NTP Utilities
NTP provides several utility programs that help you manage and make changes
to the NTP server. These utilities include:
TCPIP$NTPDATE, the date and time utility that sets the local date and time
by polling the specified server. Run NTPDATE manually or from the host
startup script to set the clock at boot time before NTP starts.
NTPDATE will not set the date if NTP is already running on the same host.
For information about using NTPDATE, see Section 12.8.1.
TCPIP$NTPTRACE, the trace utility that follows the chain of NTP servers
back to their master time source. For information about using NTPTRACE,
see Section 12.8.2.
TCPIP$NTPDC, the special query program that provides extensive state and
statistics information and allows you to set configuration options at run time.
Run this program in interactive mode or with command line arguments.
For information about using NTPDC, see Section 12.8.3.
TCPIP$NTPQ, the standard query program that queries NTP servers about
their current state and requests changes to that state. For information about
using NTPQ, see Section 12.8.4.
Configuring and Managing NTP 12–15