Container-Optimized OS
TMA-COS-2.1.1.2
Ensure chrony is configured
Descrição
chrony is a daemon which implements the Network Time Protocol (NTP) is designed to synchronize system clocks across a variety of systems and use a source that is highly accurate. More information on chrony can be found at http://chrony.tuxfamily.org/. chrony can be configured to be a client and/or a server. If chrony is in use on the system proper configuration is vital to ensuring time synchronization is working properly. This recommendation only applies if chrony is in use on the system.
Como é verificado
Método de auditoria: Revisão manual
Run the following command and verify remote server is configured properly: # grep -E "^(server|pool)" /etc/chrony/chrony.conf server <remote-server> Multiple servers may be configured. Run the following command and verify the first field for the chronyd process is ntp or chrony: # ps -ef | grep chronyd ntp 491 1 0 20:32 ? 00:00:00 /usr/sbin/chronyd Or # ps -ef | grep chronyd chrony 491 1 0 20:32 ? 00:00:00 /usr/sbin/chronyd
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
Update to an OS image that has the correct chrony configuration.
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- container-optimized-oscos
- Referência
- CIS Google Container-Optimized OS Benchmark v1.2.0 - 2.1.1.2 Ensure chrony is configured