Password change for automation user with htpasswd doesn't do anything

CMK version:2.2.0p3
OS version:Debian 11.7

I am currently working with the REST API and I can not change the initial password of the automation user with htpasswd but it works if I change it over the web interface.

Is there a way to change the automation password without using the web interface since I am also using a solution of the checkmk site creation and configuration in ansible.

Here is how I normaly change the password for all other users and it works completely fine for them:

htpasswd -b -B -C 12 /opt/omd/sites/<sitename>/etc/htpasswd <username> <password> 

Hi @SerdarAkcay,

and welcome to the forum!

This is because the automation user is not using a password! It it’s using a automation secret instead and thus you can’t change it with htpasswd.

I don’t know if there is a no GUI Method to change the secret.

Regards
Norm

1 Like

Hi @SerdarAkcay ,

the automation user password is stored in the file ~/var/check_mk/web/automation/automation.secret

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.