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: 30cbb3e009e16c080777b195f2a6043dbbd4cfc6502b6459b1fabecc7369ad88