Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password Reset #1

Open
naqashsaeed opened this issue Apr 14, 2023 · 2 comments
Open

Password Reset #1

naqashsaeed opened this issue Apr 14, 2023 · 2 comments

Comments

@naqashsaeed
Copy link

No description provided.

@naqashsaeed
Copy link
Author

naqashsaeed commented Apr 14, 2023

Hi @username,

I have attached the KB article for password reset on Homer to this reply. Please find the attached file [How to rest password] for detailed instructions on how to reset your password.

If you have any questions or need further assistance, feel free to ask.
How to Reset Password.pdf

Best,
[Your Name]

@hrhashmi
Copy link

@naqashsaeed no its not correct.

it must be like

Hi @naqashsaeed

Please follow the following steps to reset password

Step 1: Find the Password for Database.

cat /etc/heplify-server.toml | grep DBPass | awk '{print $3}' | tr -d '"'

Step 2: Take backup of the table.
Execute following command and it will not ask you for password and you can take backup of your
database.

$ export PGPASSWORD=`cat /etc/heplify-server.toml | grep DBPass | awk '{print $3}' | tr -d '"'`
$ pg_dump -U homer_user -h localhost -d homer_config -t users > /root/backup.sql

Step 3: update admin user to default password.

$ su postgres
$ psql homer_config
homer_config=# UPDATE users SET hash =
'$2a$10$wWsjhHFHqPLd4Q4FNbcR3OjYTcaz.WbiJ8pvrUwXPbZx3zP3VItPK' where username='admin';
homer_config=# exit

Step 4: try login again in HOMER UI with the following credentials.

Username: admin
Password: sipcapture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants