SV-222949r615938_rule
V-222949
SRG-APP-000133-AS-000092
TCAT-AS-000450
CAT II
10
From the Tomcat server as a privileged user:
Use a file editor like nano or vi and edit the /etc/systemd/system/tomcat.service file.
Change the "UMask=" setting to 0027.
UMask =0027
Save the file and restart Tomcat:
sudo systemctl restart tomcat
sudo systemctl daemon-reload
Reference the system documentation and make relevant changes to the following commands if the system differs:
From the Tomcat server command line run the following command:
sudo cat /etc/systemd/system/tomcat.service | grep -i umask
If the umask is not = 0027, this is a finding.
V-222949
False
TCAT-AS-000450
Reference the system documentation and make relevant changes to the following commands if the system differs:
From the Tomcat server command line run the following command:
sudo cat /etc/systemd/system/tomcat.service | grep -i umask
If the umask is not = 0027, this is a finding.
M
4094