2.1.4.2 Ensure ntp is configured with authorized timeserver
Audit#
IF ntp is in use on the system, run the following command to display the server and/or pool mode:
Verify that at least one pool line and/or at least three server lines are returned, and the timeserver on the returned lines follows local site policy.
Output examples:
pool mode:
server mode:
Remediation#
Edit /etc/ntp.conf and add or edit server or pool lines as appropriate according to local site policy:
Examples:
pool mode:
server mode:
Run the following command to load the updated time sources into ntp running config:
OR
If another time synchronization service is in use on the system, run the following command to remove ntp from the system: