Other Articles

Servers – Ensure Chrony is Configured

Secure Configuration Checks > Server

This check ensures that Chrony is properly configured as the system NTP client.

Proper time synchronization is critical for logging, security, and system operations across distributed environments.

Check Details

  • Resource: Server
  • Check: Ensure Chrony is configured correctly
  • Risk: Improper time synchronization can lead to logging issues, authentication failures, and inconsistencies across systems.

Remediation Steps

  1. Open a terminal session with root or sudo privileges.
  2. Verify Chrony configuration file for NTP servers:

    grep -E "^(server|pool)" /etc/chrony/chrony.conf
    
  3. Ensure that at least one valid remote time server is configured.
  4. Verify that Chrony daemon is running:

    ps -ef | grep chronyd
    
  5. Confirm that the Chrony process is running under ntp or chrony user.
  6. Edit the Chrony configuration file if required:

    sudo nano /etc/chrony/chrony.conf
    
  7. Add or update NTP servers:

    server time.example.com iburst
    
  8. Restart Chrony service to apply changes:

    sudo systemctl restart chronyd
    
  9. Enable Chrony service to start on boot:

    sudo systemctl enable chronyd
    
  10. Verify synchronization status:

    chronyc tracking
    
  11. Perform regular audits to ensure proper time synchronization.

Updated on 06 March, 2026