How To Recover Openfire admin Password

Openfire is a cross-platform java based free Instant Messaging server which implements the XAMPP (Jabber) protocol with extensions. It is very well suited as corporate instant messaging solution. Here is how you can recover the admin password, in case you forget it.

How to recover Openfire admin password

1. Login to MySQL and use openfire database. I use the command:
mysql -uroot -p openfire

2. Display the password for the admin user with the query:
select password from jiveUser where username = 'admin';

This will display the initially chosen password for admin. However if you have at any time changed the password from the administration screen then it will display NULL instead.
After first change the password is encrypted and stored in the encryptedPassword field and cannot be recovered.

However you can change the password even without knowing the original password.

How to change Openfire admin password

Change the admin (or any other users) password by setting password field to chosen value and encryptedPassword field to null. For example here is the query to set the admin password to 123456:
update jiveUser set password='123456', encryptedPassword = null where username ='admin';

This will change the current admin password to 123456. Remember to change it to a different value after you login to the admin console. This will also have the side-effect of encrypting your password in database for added security.

Note: Openfire admin console is available at http://localhost:9090

转载于:https://www.cnblogs.com/hannover/archive/2011/04/19/2020609.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值