PHTN-67-000079 - The Photon operating system must ensure root $PATH entries are appropriate.

Information

The $PATH variable contains a semicolon-delimited set of directories that allows root to not specify the full path for a limited set of binaries. Having unexpected directories in $PATH can lead to root running a binary other than the one intended.

Solution

At the command line, execute the following command:

# export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/java/jre-vmware/bin:/opt/vmware/bin

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_Y23M07_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-239150r675258_rule, STIG-ID|PHTN-67-000079, Vuln-ID|V-239150

Plugin: Unix

Control ID: 36ab57774f6d3dc3ac1350a630199785bb2c86c59a650778df9376423256753d