In this quick tutorial, we are going to show you how to change the default Rundeck admin password
01- First take a backup of the file /etc/rundeck/realm.properties
:
$ cp -p /etc/rundeck/realm.properties /etc/rundeck/$(date +%Y%m%d)_realm.propertiesOLD
02- Now, edit the file /etc/rundeck/realm.properties
, replace the second field ‘admin‘ with a secure password as below:
$ vi /etc/rundeck/realm.properties
#
# This sets the default user accounts for the Rundeck app
#
admin:YOUR_NEW_PASSWORD,user,admin,architect,deploy,build
03- After changing the default password, you have to restart the Rundeck:
$ /etc/init.d/rundeckd restart
#automation tool #devops #rundeck