Removable media, remote file systems, and any file system not containing approved device files must be mounted with the nodev option.

From HP-UX 11.31 Security Technical Implementation Guide

Part of GEN002430

Associated with IA controls: ECSC-1

Associated with: CCI-000366

SV-29568r1_rule Removable media, remote file systems, and any file system not containing approved device files must be mounted with the nodev option.

Vulnerability discussion

The nodev (or equivalent) mount option causes the system to not handle device files as system devices. This option must be used for mounting any file system not containing approved device files. Device files can provide direct access to system hardware and can compromise security if not protected.

Check content

Each file system line entry must contain a device specific file and may additionally contain all of the following fields, in the following order: mount directory, type, options, backup frequency, pass number (on parallel fsck) and comment. Check /etc/fstab and verify that the nodevs mount option is used on all NFS file systems. If an NFS file system is not using the nodevs option, this is a finding. # cat /etc/fstab | grep -v "^#" | grep nfs

Fix text

Edit /etc/fstab and add the nodevs mount option to all entries for NFS file systems.

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer