Container-Optimized OS
TMA-COS-6.1.7
Ensure permissions on /etc/group- are configured
СреднийУровень 1Ручная проверкаcos
Описание
The /etc/group- file contains a backup list of all the valid groups defined in the system. It is critical to ensure that the /etc/group- file is protected from unauthorized access. Although it is protected by default, the file permissions could be changed either inadvertently or through malicious actions.
Как проверяется
Метод проверки: Ручная проверка
Эту рекомендацию нельзя проверить автоматически. Сканирование выводит её вместе с этими инструкциями при указании флага --include-manual.
Run the following command and verify Uid and Gid are both 0/root and Access is 644 or more restrictive: # stat /etc/group- Access: (0644/-rw-------) Uid: ( 0/ root) Gid: ( 0/ root)
Как исправляется
Метод исправления: Рекомендация или патч инфраструктуры
Run the following command to set permissions on /etc/group- : # chown root:root /etc/group- # chmod u-x,go-wx /etc/group-
Свойства
- Операционные системы
- Любая
- Теги
- access-controlcontainer-optimized-oscos
- Источник
- CIS Google Container-Optimized OS Benchmark v1.2.0 - 6.1.7 Ensure permissions on /etc/group- are configured