How can Admin change a user password
![](http://jazz.net/_images/myphoto/0248867ee96d3cf35122ed0fb3069c14.jpg)
Accepted answer
![](http://jazz.net/_images/myphoto/0248867ee96d3cf35122ed0fb3069c14.jpg)
Looks like the xml was not shown in the forum. Let me try again.
The password info in tomcat-users.xml will be encrypted. The format of tomcat-users.xml is
Since the password field is encrypted, you should not edit the tomcat-users.xml with the new password. Instead, do the following to change the password. Lets say for example, you wish to reset the password for user1. create a new tomcat-users.xml file with user1 information,
and use repotools -convertTomcatUsers command to convert the new tomcat-users.xml file you created. The output tomcat-users.xml file would encrypt the password value. Copy that password value and paste it in the orifinal tomcat-users.xml.
Restarting the server will pick up the new password.
--- Balaji
The password info in tomcat-users.xml will be encrypted. The format of tomcat-users.xml is
<xml>
<tomcat>
<role>
<role>
<role>
<role>
<role>
<user>
<user>
</tomcat>
Since the password field is encrypted, you should not edit the tomcat-users.xml with the new password. Instead, do the following to change the password. Lets say for example, you wish to reset the password for user1. create a new tomcat-users.xml file with user1 information,
<xml>
<tomcat>
<role>
<role>
<role>
<role>
<role>
<user>
</tomcat>
and use repotools -convertTomcatUsers command to convert the new tomcat-users.xml file you created. The output tomcat-users.xml file would encrypt the password value. Copy that password value and paste it in the orifinal tomcat-users.xml.
Restarting the server will pick up the new password.
--- Balaji
6 other answers
![](http://jazz.net/_images/myphoto/0248867ee96d3cf35122ed0fb3069c14.jpg)
Looks like the xml was not shown in the forum. Let me try again.
The password info in tomcat-users.xml will be encrypted. The format of tomcat-users.xml is
Since the password field is encrypted, you should not edit the tomcat-users.xml with the new password. Instead, do the following to change the password. Lets say for example, you wish to reset the password for user1. create a new tomcat-users.xml file with user1 information,
and use repotools -convertTomcatUsers command to convert the new tomcat-users.xml file you created. The output tomcat-users.xml file would encrypt the password value. Copy that password value and paste it in the orifinal tomcat-users.xml.
Restarting the server will pick up the new password.
--- Balaji
The password info in tomcat-users.xml will be encrypted. The format of tomcat-users.xml is
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="JazzDWAdmins"/>
<role rolename="JazzGuests"/>
<role rolename="manager"/>
<role rolename="JazzUsers"/>
<role rolename="JazzAdmins"/>
<user username="ADMIN" password="b521caa6e1db8" roles="JazzUsers,JazzAdmins,manager"/>
<user username="User1" password="cvhjdfhdjhfdjhfdjhfdfd123" roles="JazzUsers"/>
</tomcat-users>
Since the password field is encrypted, you should not edit the tomcat-users.xml with the new password. Instead, do the following to change the password. Lets say for example, you wish to reset the password for user1. create a new tomcat-users.xml file with user1 information,
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="JazzDWAdmins"/>
<role rolename="JazzGuests"/>
<role rolename="manager"/>
<role rolename="JazzUsers"/>
<role rolename="JazzAdmins"/>
<user username="User1" password="initpass" roles="JazzUsers"/>
</tomcat-users>
and use repotools -convertTomcatUsers command to convert the new tomcat-users.xml file you created. The output tomcat-users.xml file would encrypt the password value. Copy that password value and paste it in the orifinal tomcat-users.xml.
Restarting the server will pick up the new password.
--- Balaji
![](http://jazz.net/_images/myphoto/0248867ee96d3cf35122ed0fb3069c14.jpg)
Assuming you are using Tomcat, you can shutdown the server, and hand
edit the tomcat-users.xml file in the tomcat/conf directory. I'm not
exactly sure about the format, but I think there is some documentation
on the Tomcat website.
-
Matt Lavin
Jazz Server Team
On Thu, 2009-02-05 at 06:37 +0000, ramfree17 wrote:
edit the tomcat-users.xml file in the tomcat/conf directory. I'm not
exactly sure about the format, but I think there is some documentation
on the Tomcat website.
-
Matt Lavin
Jazz Server Team
On Thu, 2009-02-05 at 06:37 +0000, ramfree17 wrote:
Short of messing around with the database, this looks like an
enhancement request. :(
ciao!
![](http://jazz.net/_images/myphoto/0248867ee96d3cf35122ed0fb3069c14.jpg)
The password info in tomcat-users.xml will be encrypted. The format of tomcat-users.xml is
<xml>
<tomcat>
<role>
<role>
<role>
<role>
<role>
<user>
<user>
</tomcat>
Since the password field is encrypted, you should not edit the tomcat-users.xml with the new password. Instead, do the following to change the password. Lets say for example, you wish to reset the password for user1. create a new tomcat-users.xml file with user1 information,
<xml>
<tomcat>
<role>
<role>
<role>
<role>
<role>
<user>
</tomcat>
and use repotools -convertTomcatUsers command to convert the new tomcat-users.xml file you created. The output tomcat-users.xml file would encrypt the password value. Copy that password value and paste it in the orifinal tomcat-users.xml.
Restarting the server will pick up the new password.
--- Balaji
<xml>
<tomcat>
<role>
<role>
<role>
<role>
<role>
<user>
<user>
</tomcat>
Since the password field is encrypted, you should not edit the tomcat-users.xml with the new password. Instead, do the following to change the password. Lets say for example, you wish to reset the password for user1. create a new tomcat-users.xml file with user1 information,
<xml>
<tomcat>
<role>
<role>
<role>
<role>
<role>
<user>
</tomcat>
and use repotools -convertTomcatUsers command to convert the new tomcat-users.xml file you created. The output tomcat-users.xml file would encrypt the password value. Copy that password value and paste it in the orifinal tomcat-users.xml.
Restarting the server will pick up the new password.
--- Balaji
Assuming you are using Tomcat, you can shutdown the server, and hand
edit the tomcat-users.xml file in the tomcat/conf directory. I'm not
exactly sure about the format, but I think there is some documentation
on the Tomcat website.
-
Matt Lavin
Jazz Server Team
On Thu, 2009-02-05 at 06:37 +0000, ramfree17 wrote:
Short of messing around with the database, this looks like an
enhancement request. :(
ciao!