SV-227683r603266_rule
V-227683
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-227683
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
4061