C:\Users\user\tomcat\apache-tomcat-9.0.40>code . << VScode
<!--
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="<must-be-changed>" roles="tomcat"/>
<user username="both" password="<must-be-changed>" roles="tomcat,role1"/>
<user username="role1" password="<must-be-changed>" roles="role1"/>
-->
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager"/>
<role rolename="admin"/>
<role rolename="manager-gui"/>
<role rolename="admin-gui"/>
<user roles="tomcat" password="tomcat" username="tomcat"/>
<user roles="tomcat,role1" password="tomcat" username="both"/>
<user roles="role1" password="tomcat" username="role1"/>
<user roles="admin,manager,admin-gui,manager-gui" password="admin" username="admin"/>
<user roles="admin,manager,admin-gui,manager-gui" password="tomcat" username="tomcat"/>
Ctrl+S로 파일 저장을 눌러준다.
C:\Users\user>cd tomcat\apache-tomcat-9.0.40\bin>startup.bat