Hi John,
You can add the below to the default snapshot and replace the username/password. This should override the default username/password when Kura starts. Note, the password in the snapshot
is base64 encoded, so you will need to make sure you encode this properly. Alternatively, you can set enctypted=”false” and use plain text passwords.
<esf:configuration pid="org.eclipse.kura.web.Console">
<esf:properties>
<esf:property array="false" encrypted="true" name="console.password.value" type="Password">
<esf:value>YWRtaW4x</esf:value>
</esf:property>
<esf:property array="false" encrypted="false" name="console.username.value" type="String">
<esf:value>admin</esf:value>
</esf:property>
<esf:property array="false" encrypted="false" name="kura.service.pid" type="String">
<esf:value>org.eclipse.kura.web.Console</esf:value>
</esf:property>
<esf:property array="false" encrypted="false" name="service.pid" type="String">
<esf:value>org.eclipse.kura.web.Console</esf:value>
</esf:property>
</esf:properties>
</esf:configuration>
Thanks,
--Dave
David Woodard | EUROTECH | direct:
+1 301.490.4007 x318
From:
<kura-dev-bounces@xxxxxxxxxxx> on behalf of John Read <john.read@xxxxxxxxxxxx>
Reply-To: kura Developers mailing list <kura-dev@xxxxxxxxxxx>
Date: Monday, February 13, 2017 at 15:37
To: kura Developers mailing list <kura-dev@xxxxxxxxxxx>
Cc: kevin Read <kevin.read@xxxxxxxxxxxx>
Subject: [kura-dev] kura web console password
our product is based on kura (2.0.2). We are planning to deliver kura preinstalled on the device, but then with a the changed admin password. The admin password does not seem to be stored in the default snapshot or other conf-file.
Can you suggest a way to automatically define another password during the installation.
Thank you for your excellent work building and maintaining kura.
Next-Gen Energy Management For Data Centers