Skip to content

Login Password Fails using Server install script #2

Description

@radiorob

In a rare non-reproducible condition Installer might not create password correctly

First we need the value of OB_HASH_SALT from the config file.

Append that value to the password you want to use. If the salt is aaaaaaaaaa and the password is password, the string needed is aaaaaaaaaapassword

from there, get the sha value like this:

echo -n "aaaaaaaaaapassword" | openssl sha1 | cut -f 2 -d " "

copy the string that this puts out.

the log into mysql:

mysql -u root -p

select database:

use openbroadcaster

UPDATE users SET password='d8656d3f3823bce79e3a29253cf1106f6cfeee7c' WHERE username='admin';

Now, assuming that the salt is set as aaaaaaaaaa in the config file, the password password will work.

Note: When using special characters in the password, they need to use single quotes instead of double quotes when they echo the string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions