zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    商标查询网
    java: jsp:param中文乱码
    java:maven中webapp下的jsp不能访问web-inf下面的bean
    java:类集回顾
    java:类集操作,多对多的关系
    java:类集操作总结
    java:练习学校学生
    php发邮件:swiftmailer, php邮件库——swiftmailer
    java:练习超市卖场
    phalcon: 按年分表的model怎么建?table2017,table2018...相同名的分表模型怎么建
  • 原文地址:https://www.cnblogs.com/hannover/p/2020609.html
Copyright © 2011-2022 走看看