GEN000940 - The root accounts executable search path must contain only authorized paths.

Information

The executable search path (typically the PATH environment variable) contains a list of directories for the shell to search to find executables. If this path includes the current working directory or other relative paths, executables in these directories may be executed instead of system commands. This variable is formatted as a colon-separated list of directories. If there is an empty entry, such as a leading or trailing colon, two consecutive colons, or a single period, this is interpreted as the current working directory. Entries starting with a slash (/) are absolute paths.

Solution

Edit the root user's local initialization files ~/.profile,~/.bashrc (assuming root shell is bash).

Remove any empty path entries.

Remove any relative path entries that have not been documented with the ISSO.

See Also

http://iasecontent.disa.mil/stigs/zip/U_RedHat_5_V1R18_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Group-ID|V-776, Rule-ID|SV-37360r4_rule, STIG-ID|GEN000940, Vuln-ID|V-776

Plugin: Unix

Control ID: 662da4f9a75d440986bbb4c9b649211303ba6285c656f5704ec5fb6db18702a2