January 10, 2020, 12:17am
New OVA install.
ran Sha command to encrypt password
echo -n “MyNewPassword” && head -1 </dev/stdin | tr -d ‘\n’ | sha256sum | cut -d" " -f1
sha-394234fjsdf49 (obviously not my sha hash)
edited the server.conf file with nano. put in the sha hash. and saved.
restarted the server
Invalid credentials, please verify them and retry. I ran through the steps again just to verify I didn’t fat finger or paste something wrong
did I miss something?
I feel like I didn’t. I’m not a green thumb with Linux, but I’m not an expert.
Really want to try this product out.
January 10, 2020, 8:07am
You probably didn’t use correct way to generate password. I suppose you include your password in “MyNewPassword” field, which is not correct. MyNewPassword is only text with prompt to type new password, so you have to run your command, and after that type your new password and press Enter.
Official documentation use this command, so try to use this steps:
echo -n "Enter Password: " && head -1 </dev/stdin | tr -d '\n' | sha256sum | cut -d" " -f1
Type your password after prompt Enter Password:
Use generated password in
server.conf in parameter
Restart graylog service
You can also use another easier command but with caution, that password will be stored in history of commands:
echo -n yourpassword | shasum -a 256
Hope this helps.
January 10, 2020, 5:05pm
@shoothub you’re my hero.
I’m in now.
I’m mainly a windows admin, and when I see a script that says “Enter Password” I typically enter it haha.
January 24, 2020, 5:05pm
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.