TMA-ROS1-1.1.22
Disable Automounting
Trung bìnhCấp 1Tự độngros
Mô tả
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.
Cách kiểm tra
Phương pháp kiểm tra: Lệnh shell
shell
s=$(systemctl is-enabled autofs 2>/dev/null)
[ "$s" = enabled ] && echo 'autofs is enabled' || echo compliant- Đầu ra mong đợi
compliant
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
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
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- rosros1melodicsystem
- Tham chiếu
- CIS ROS Melodic Benchmark v1.0.0 - 1.1.22 Disable Automounting
Kiểm tra máy này
Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.
shell
tmaegis scan --target ros