Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Oracle Linux 7
Services
Network Time Protocol
Specify a Remote NTP Server
Specify a Remote NTP Server
An XCCDF Rule
Details
Profiles
Prose
Specify a Remote NTP Server
Medium Severity
Depending on specific functional requirements of a concrete production environment, the Oracle Linux 7 system can be configured to utilize the services of the
chronyd
NTP daemon (the default), or services of the
ntpd
NTP daemon. Refer to
https://docs.oracle.com/en/operating-systems/oracle-linux/7/network/ol7-nettime.html
for more detailed comparison of the features of both of the choices, and for further guidance how to choose between the two NTP daemons.
To specify a remote NTP server for time synchronization, perform the following:
if the system is configured to use the
chronyd
as the NTP daemon (the default), edit the file
/etc/chrony.conf
as follows,
if the system is configured to use the
ntpd
as the NTP daemon, edit the file
/etc/ntp.conf
as documented below.
Add or correct the following lines, substituting the IP or hostname of a remote NTP server for
ntpserver
:
server
ntpserver
This instructs the NTP software to contact that remote server to obtain time data.