Adding or deleting admin accounts to Openfire

Document created by LG Champion on Jul 3, 2010Last modified by LG Champion on Jul 3, 2010
Version 2Show Document
  • View in full screen mode

After a standard installation using the xmpp.domain example.com you will have one admin. The admin permissions are stored in the database in the OFPROPERTY table: "admin.authorizedJIDs"="admin@example.com". If you want to add or remove an admin you can either use the web UI and

  • change the system property "admin.authorizedJIDs" (separate multiple admins with a comma ",").
  • change the user properties and select "Is Administrator?".

 

Or you stop Openfire and edit either the database with SQL commands

DELETE FROM OFPROPERTY WHERE NAME='admin.authorizedJIDs';
INSERT INTO OFPROPERTY VALUES('admin.authorizedJIDs','admin@example-com,new@example.com');
COMMIT;

or add

<?xml version="1.0" encoding="UTF-8"?>
<jive>
    ...
    <admin>
        <authorizedJIDs>admin@example.com, new@example.com</authorizedJIDs>
    </admin>
    ...

to conf/openfire.xml and start Openfire again.

Attachments

    Outcomes