Werk #4612: Auth works now with $apr1$ prefixed passwords

Komponente User interface
Titel Auth works now with $apr1$ prefixed passwords
Datum 08.05.2017
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.4.0b7 1.5.0i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

The default encryption algorithm of htpasswd stores passwords in MD5 format. If you take a look at the file it prefixes the password with $apr1$. This format was not handled by the Check_MK GUI. If you set the prefix to $1$ it worked.

The GUI has been changed to be able to work with both formats. Passwords set with this command should now work out of the box:

htpasswd -m $OMD_ROOT/etc/htpasswd [username]

Zur Liste aller Werks