I have updated checkmk to the version 2.2.0p17 successfully with note:
Users with outdated, no longer supported password hashes have been found. These users will be unable to log in.
-| Please manually reset these users’ passwords either in Setup > Users or on the commandline using the cmk-passwd command.
-| The following users are affected:
-| cmkadmin
I have tried to change it with:
root@checkmk:/var# omd su staging
OMD[staging]:~$ cmk-passwd cmkadmin
New password:
Re-type new password:
OMD[staging]:~$ exit
After that when I try to login with cmkadmin it is not possible (Incorrect username or password. Please try again.)
Eventually leads to locked account, then I need to set locked: False:
OMD[staging]:/opt/omd/sites/staging/etc/check_mk/multisite.d/wato$ cat users.mk
Written by Checkmk store
multisite_users.update({‘cmkadmin’: {‘alias’: ‘cmkadmin’, ‘roles’: [‘admin’], ‘locked’: True, ‘connector’: ‘htpasswd’}, ‘automation’: {‘alias’: ‘Check_MK Automation - used for calling web services’, ‘automation_secret’: ‘909280c3-5764-45c8-8b32-4595cb249bf0’, ‘roles’: [‘admin’], ‘locked’: False, ‘language’: ‘en’, ‘connector’: ‘htpasswd’}})
Can somebody tell me correct procedure to fix this:
root@checkmk:/home/local-admin# omd version
OMD - Open Monitoring Distribution Version 2.2.0p17.cre
root@checkmk:/home/local-admin# omd versions
2.1.0p25.cre
2.1.0p38.cre
2.2.0p1.cre
2.2.0p12.cre
2.2.0p17.cre (default)
