ROS (Robot Operating System)
TMA-ROS1-1.1.22
Disable Automounting
СреднийУровень 1Автоматическаяros
Описание
autofs allows automatic mounting of devices, typically including CD/DVDs and USB drives. The audit requires autofs to be not installed or not enabled (systemctl is-enabled autofs). Host-level control from the CIS ROS Melodic benchmark (Ubuntu 18.04 robot hosts); run as root.
Как проверяется
Метод проверки: Команда оболочки
shell
s=$(systemctl is-enabled autofs 2>/dev/null)
[ "$s" = enabled ] && echo 'autofs is enabled' || echo compliant- Ожидаемый вывод
compliant
Как исправляется
Метод исправления: Рекомендация или патч инфраструктуры
Run one of the following commands: Run the following command to disable autofs : # systemctl --now disable autofs OR Run the following command to remove autofs # apt purge autofs
Свойства
- Операционные системы
- Любая
- Теги
- rosros1melodicsystem
- Источник
- CIS ROS Melodic Benchmark v1.0.0 - 1.1.22 Disable Automounting
Проверить этот хост
Выполните команду на компьютере, аудит которого вам разрешён. Сканирование работает только на чтение.
shell
tmaegis scan --target ros