TMA-COS-2.1.1.2
Ensure chrony is configured
Описание
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.
Как проверяется
Метод проверки: Ручная проверка
Эту рекомендацию нельзя проверить автоматически. Сканирование выводит её вместе с этими инструкциями при указании флага --include-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
Как исправляется
Метод исправления: Рекомендация или патч инфраструктуры
Update to an OS image that has the correct chrony configuration.
Свойства
- Операционные системы
- Любая
- Теги
- container-optimized-oscos
- Источник
- CIS Google Container-Optimized OS Benchmark v1.2.0 - 2.1.1.2 Ensure chrony is configured