ROS (Robot Operating System)
TMA-ROS1-1.1.22
Disable Automounting
SedangLevel 1Otomatisros
Deskripsi
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.
Cara pemeriksaan
Metode audit: Perintah shell
shell
s=$(systemctl is-enabled autofs 2>/dev/null)
[ "$s" = enabled ] && echo 'autofs is enabled' || echo compliant- Output yang diharapkan
compliant
Cara perbaikan
Metode perbaikan: Panduan atau patch infrastruktur
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
Properti
- Sistem operasi
- Apa saja
- Tag
- rosros1melodicsystem
- Referensi
- CIS ROS Melodic Benchmark v1.0.0 - 1.1.22 Disable Automounting
Periksa host ini
Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.
shell
tmaegis scan --target ros