Hi, New to Graylog and I’m trying to change the default web and OS passwords. For the web password I tried to run “sudo graylog-ctl set-admin-password mynewpassword” . After this command and a “sudo graylog-ctl reconfigure” I could not login to the web interface as admin mynewpassword or admin admin. I then found a document after some searching to do the following:
- Generate a Secret Key.
pwgen -N 1 -s 96
- Put it under “password_secret =” in /opt/graylog/conf/server.conf
- Generate a Hash password
echo -n yourpassword | shasum -a 256
- Put it Under “root_password_sha2 =” in /opt/graylog/conf/server.conf
- I ran “sudo graylog-ctl reconfigure”
I still haven’t been able to login. I’ve been checking and rechecking for hours. Any help would be greatly appreciated.