SV-239740r679330_rule
V-239740
SRG-APP-000435-WSR-000147
VCLD-67-000033
CAT II
10
Navigate to and open /usr/lib/systemd/system/vami-lighttp.service in a text editor.
Under the "[Service]" section, remove the line that beings with "User=".
At the command prompt, execute the following command:
# service vami-lighttp restart
At the command prompt, execute the following command:
# ps -f -U root | awk '$0 ~ /vami-lighttpd/ && $0 !~ /awk/ {print $1}'
Expected result:
root
If the output does not match the expected result, this is a finding.
V-239740
False
VCLD-67-000033
At the command prompt, execute the following command:
# ps -f -U root | awk '$0 ~ /vami-lighttpd/ && $0 !~ /awk/ {print $1}'
Expected result:
root
If the output does not match the expected result, this is a finding.
M
5335