1.1.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 RHEL5. 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/3096

Item Details

Category: CONFIGURATION MANAGEMENT, SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|CM-6, 800-53|SC-7(10), CSCv6|3.1, CSCv7|5.1, CSCv7|13

Plugin: Unix

Control ID: 54c856db954e9c65d861849c21f0ec634475179b113776247246b5773a88d5e6