Adding users to access the Applications.
Step 1: Go to Conf Folder
/opt/apache-tomcat-8.5.23/conf
Step 2: Open tomcat-users.xml file
and add below lines to add user "admin" with password
"admin"
Step 3: vi tomcat-users.xml file
<role
rolename="manager-gui"/>
<user username="hint"
password="Password@123" roles="manager-gui"/>
Step4: When you try to access the server status or Manager App ,required
authentication.
Step5 : Enter username and password
which define in the step 3.
Comments
Post a Comment