Hi, we are in a situation where we would like to recover admin password for genieacs-ui . Is there a provided tool for that use or should I update db entry directly ? Backend is mongodb, and I managed to display password (in encrypted form) and salt in genieacs/users but I’m not really familiar with Mongo so I would appreciate pointers for updating with the proper format if it is the way to go.
Sorry to necro-bump, but I have the same question. I’d like to change the password in an automated fashion after installation. I already figured out using PHP one would have to do something like this:
$password = 'secret';
$salt = bin2hex(random_bytes(64));
$hash = bin2hex(openssl_pbkdf2($password, $salt, 128, 10000, 'sha512'));
Is there a more robust solution? Especially, since I don’t know if GenieACS does some caching internally.