SV-226557r603265_rule
V-226557
SRG-OS-000480
GEN001901
CAT II
10
Edit the local initialization file and remove the relative path entries from the library search path variables that have not been documented with the ISSO.
Edit the local initialization file and remove any empty entry that is defined.
NOTE: This command should be used in the BASH shell.
Verify local initialization files have library search path containing only authorized paths.
# cut -d : -f 1 /etc/passwd | xargs -n1 -IUSER sh -c 'grep -l LD_LIBRARY_PATH ~USER/.*'
This variable is formatted as a colon-separated list of directories.
If there is an empty entry, such as a leading or trailing colon, or two consecutive colons, this is a finding.
If an entry begins with a character other than a slash (/), or has not been documented with the ISSO, this is a finding.
V-226557
False
GEN001901
NOTE: This command should be used in the BASH shell.
Verify local initialization files have library search path containing only authorized paths.
# cut -d : -f 1 /etc/passwd | xargs -n1 -IUSER sh -c 'grep -l LD_LIBRARY_PATH ~USER/.*'
This variable is formatted as a colon-separated list of directories.
If there is an empty entry, such as a leading or trailing colon, or two consecutive colons, this is a finding.
If an entry begins with a character other than a slash (/), or has not been documented with the ISSO, this is a finding.
M
4060