10.2 Use full path names in /etc/dfs/dfstab file

Information

The commands in the dfstab file are executed via the /usr/sbin/shareall script at boot time, as well as by administrators executing the shareall command during the uptime of the machine.

Solution

Perform the following to implement the recommended state:
# cd /etc/dfs
# awk '($1 == "share") { $1 = "/usr/sbin/share" }; { print }' dfstab >dfstab.new
# mv dfstab.new dfstab
# pkgchk -f -n -p /etc/dfs/dfstab

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b.

Plugin: Unix

Control ID: 02dc5f7d7731a79b28edaf01ad1db1d2edac4f0dba062a71eff77755f895241c