SV-222983r615938_rule
V-222983
SRG-APP-000340-AS-000185
TCAT-AS-001050
CAT II
10
From the Tomcat command line type the following command:
sudo usermod -s /usr/sbin/nologin tomcat
From the command line of the Tomcat server type the following command:
sudo cat /etc/passwd|grep -i tomcat
If the command/shell field of the passwd file is not set to "/usr/sbin/nologin", this is a finding.
V-222983
False
TCAT-AS-001050
From the command line of the Tomcat server type the following command:
sudo cat /etc/passwd|grep -i tomcat
If the command/shell field of the passwd file is not set to "/usr/sbin/nologin", this is a finding.
M
4094