---
title: "tomcat 配置管理员用户"
author: "hyh2011"
date: "2011-08-15T15:33:44Z"
tags: ["Tomcat"]
categories: ["Web前端"]
slug: "tomcat"
draft: false
lastmod: "2011-08-15T15:33:44Z"
id: 1149601
url: "https://hyh2011.iteye.com/blog/1149601"
---

在tomcat安装目录下的conf文件夹的tomcat-users.xml文件 

&lt;role rolename="manager"/&gt;  
 &lt;role rolename="admin"/&gt;  
 &lt;user username="admin" password="admin" roles="admin,manager"/&gt;