SV-100575r1_rule
V-89925
SRG-APP-000092-WSR-000055
VRAU-TC-000125
CAT II
10
Navigate to and open Navigate to and open /usr/share/tomcat/bin/catalina.sh.
Navigate to and locate the start block : "elif [ "$1" = "start" ] ; then"
Navigate to and locate both "eval" statements : "org.apache.catalina.startup.Bootstrap "$@" start \"
Add this statement immediately below both of the "eval" statements : '>> "$CATALINA_OUT" 2>&1 "&"'
At the command prompt, execute the following command:
more /usr/share/tomcat/bin/catalina.sh
Type /touch "$CATALINA_OUT"
Verify that the start command contains the command ">> "$CATALINA_OUT" 2>&1 "&""
If the command is not correct or is missing, this is a finding.
Note: Use the "Enter" key to scroll down after typing /touch "$CATALINA_OUT"
V-89925
False
VRAU-TC-000125
At the command prompt, execute the following command:
more /usr/share/tomcat/bin/catalina.sh
Type /touch "$CATALINA_OUT"
Verify that the start command contains the command ">> "$CATALINA_OUT" 2>&1 "&""
If the command is not correct or is missing, this is a finding.
Note: Use the "Enter" key to scroll down after typing /touch "$CATALINA_OUT"
M
3439