TMAegis
Više pravila za ros

TMA-ROS1-1.1.20

Ensure noexec option set on removable media partitions

SrednjaNivo 1Ručni pregledros

Opis

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.

Kako se proverava

Metod provere: Ručni pregled

Ova preporuka se ne može proveriti automatski. Skeniranje je navodi sa ovim uputstvima kada prosledite --include-manual.

Run the following command and verify that the noexec option is set on all removable media partitions. # mount

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

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.

Svojstva

Operativni sistemi
Bilo koji
Oznake
rosros1melodicsystem
Referenca
CIS ROS Melodic Benchmark v1.0.0 - 1.1.20 Ensure noexec option set on removable media partitions