SV-271847r1092253_rule
V-271847
SRG-OS-000480-GPOS-00227
OL09-00-003053
CAT II
10
Edit the local interactive user initialization files to change any PATH variable statements that reference directories other than their home directory.
If a local interactive user requires path variables to reference a directory owned by the application, it must be documented with the ISSO.
Verify that OL 9 local interactive user initialization file executable search path statements do not contain statements that will reference a working directory other than user home directories with the following commands:
$ sudo grep -i path= /home/*/.*
/home/[localinteractiveuser]/.bash_profile:PATH=$PATH:$HOME/.local/bin:$HOME/bin
If any local interactive user initialization files have executable search path statements that include directories outside of their home directory and is not documented with the ISSO as an operational requirement, this is a finding.
V-271847
False
OL09-00-003053
Verify that OL 9 local interactive user initialization file executable search path statements do not contain statements that will reference a working directory other than user home directories with the following commands:
$ sudo grep -i path= /home/*/.*
/home/[localinteractiveuser]/.bash_profile:PATH=$PATH:$HOME/.local/bin:$HOME/bin
If any local interactive user initialization files have executable search path statements that include directories outside of their home directory and is not documented with the ISSO as an operational requirement, this is a finding.
M
5680