TMA-ROS1-1.1.20
Ensure noexec option set on removable media partitions
Description
The noexec mount option specifies that the filesystem cannot contain executable binaries. Manual review against site policy. Host-level control from the CIS ROS Melodic benchmark (Ubuntu 18.04 robot hosts); run as root.
How it is checked
Audit method: Manual review
This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.
Run the following command and verify that the noexec option is set on all removable media partitions. # mount
How it is fixed
Fix method: Guidance or infrastructure patch
Edit the /etc/fstab file and add noexec to the fourth field (mounting options) of all removable media partitions. Look for entries that have mount points that contain words such as floppy or cdrom. See the fstab(5) manual page for more information.
Properties
- Operating systems
- Any
- Tags
- rosros1melodicsystem
- Reference
- CIS ROS Melodic Benchmark v1.0.0 - 1.1.20 Ensure noexec option set on removable media partitions