I've tried to create new admin pass with:
java -cp jetty-all-7.6.0.v20120127.jar org.eclipse.jetty.util.security.Password admin 'pass'
and copy to realm.properties like this:
admin: CRYPT:pass-string,server-administrator,content-administrator,admin
and also comment the framework.server.username and framework.server.password lines in framework.properties file.
I've restarted rundeckd, but still i'm able to login to the GUI with admin/admin.
What i'm missing here?
You can change the default admin password in rundeck with this commands:
# generate a random password
RD_PASS=$(openssl rand -base64 16)
# show unencrypted password
echo ${RD_PASS}
# generate MD5 sum
RD_PASS_MD5=$(java -cp /var/lib/rundeck/bootstrap/jetty-all-9.0.7.v20131107.jar org.eclipse.jetty.util.security.Password admin ${RD_PASS} 2>&1 | grep MD5)
# change default rundeck admin password
sed -i "s/^admin:admin/admin:${RD_PASS_MD5}/g" /etc/rundeck/realm.properties
# restart rundeck
service rundeckd restart
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With