Skip to content

Setting Admin Password

Frederic Bergeron edited this page Jul 7, 2015 · 2 revisions

The default password for the admin user is: admin.

To set a different password, you edit the file ${comete.home}/conf/security/admin.txt and you replace the first line by the SHA1 hash of the new password. The ${comete.home} location refers to the main config file.

For example, if you want to set the new password as nimda1234, you can use an online service to compute its SHA1 hash. You should get this value: 30ea67482fe2d753d57acb7910ceb07e5ce60a33. You edit the admin.txt file so that it looks like this:

30ea67482fe2d753d57acb7910ceb07e5ce60a33
admin

The change will be taken into account immediately. No need to restart Tomcat.