2.10 Add nodev Option to /home

Information

When set on a file system, this option prevents character and block special devices from
being defined, or if they exist, from being used as character and block special devices.

*Rationale*

Since the user partitions are not intended to support devices, set this option to ensure that
users cannot attempt to create block or character special devices.

Note- The actions in the item refer to the /home partition, which is the default user partition that is defined in many distributions. If you have created other user partitions, it is
recommended that the Remediation and Audit steps be applied to these partitions as well.

Solution

Edit the /etc/fstab file and add nodev to the fourth field (mounting options). See the
fstab(5) manual page for more information.# mount -o remount,nodev /home

See Also

https://workbench.cisecurity.org/files/91

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CSCv6|3.1, CSCv7|5.1

Plugin: Unix

Control ID: 0683b43c5f5dfa81e741ecd307da1111a6a8ced9ac73ad30021e111383a7abb1