I delete the "admin" user

In “User Summary”, I accidentally delete the “admin” user and the system logged me out. Then, I can not log in again to the Wildfire Admin Console…Anyone who can help me???

The wildfire I installed is open source version 3.1.1 and I use Spark as the client.

I use the provided database…

Why “admin” can be deleted??

Hi,

you may need to shutdown Wildfire to restore the user “admin”. You can either append a line to embedded-db/wildfire.script

INSERT INTO JIVEUSER VALUES(''admin'',''password'',NULL,''Administrator'',''admin@example.com'',''001155939618196'',''0'')

or you could edit conf/wildfire.xml and add your account to

<authorizedUsernames>yourName</authorizedUsernames>

.

I prefer to modify “authorizedUsernames” and get rid of “admin” as one may try to hack a Wildfire server using “admin” as this user is usually present.

LG

Thanks for your help!

I start the wildfire as a system service and could not stop it by “wildfire server”. Maybe I have to restart my computer? How to stop the service when I could not log in to the browser-based admin page??

For the , does it mean there is no password for user “yourName”?

Hi,

if stopping the service fails you could try to kill it using the task manager.

yourName is the node id of your JID, I assume that you login as "pockey@example.com/Spark" and you have pockey’'s password.

LG

Thanks again!

However, I did not know the name of the process of WildFire service in Task Manager…

Is it “WLService.exe”?

So I have to stop the service first and then modify the files you mentioned and restart the service again??

I tried to modify the file first, and then turn off my computer to stop the wildfire service, however, when I turn on my computer, it still did not work…

Hi,

you need to stop Wildfire before you edit the embedded-db/wildfire.script file.

Editing the conf/wildfire.xml file should be possbile also while Wildfire is running but you need to restart it to read the changes. Did you remove the “<!” and “>” around “”?

I don’'t run Wildfire on Windows, I expect that the process name is wildfire-service.exe or wildfired.exe.

LG