[GH-ISSUE #1172] Reset user password #959

Closed
opened 2026-02-26 06:35:13 +03:00 by kerem · 1 comment
Owner

Originally created by @onevision on GitHub (Jun 11, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1172

I have picked up support for a website uses nginx-proxy-manager. The guy who setup the website is long gone and I do not know his password.

I have access to the backend docker containers and have connected to MariaDB in hope of manually changing the password to something I know, however I cannot see where the users' passwords are stored.

Any help would be much appreciated.

Originally created by @onevision on GitHub (Jun 11, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1172 I have picked up support for a website uses nginx-proxy-manager. The guy who setup the website is long gone and I do not know his password. I have access to the backend docker containers and have connected to MariaDB in hope of manually changing the password to something I know, however I cannot see where the users' passwords are stored. Any help would be much appreciated.
kerem 2026-02-26 06:35:13 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@chaptergy commented on GitHub (Jun 11, 2021):

If you have access to the database, you can go into the table named auth and update the secret column where the user_id is the user id you want. (You can see the users in the users table, and see the id associated with an email address.

To keep the user intact, change the secret to

$2b$13$C9mJYK7Gf7sVgCCYw84HhOvOIpnyhkdGqwIp0PPj/s9.q0bxkoMZe

This will result in the password being changeme.

To just create a new admin user, see https://github.com/jc21/nginx-proxy-manager/issues/230#issuecomment-550565639

<!-- gh-comment-id:859942808 --> @chaptergy commented on GitHub (Jun 11, 2021): If you have access to the database, you can go into the table named `auth` and update the `secret` column where the `user_id` is the user id you want. (You can see the users in the `users` table, and see the id associated with an email address. To keep the user intact, change the secret to ``` $2b$13$C9mJYK7Gf7sVgCCYw84HhOvOIpnyhkdGqwIp0PPj/s9.q0bxkoMZe ``` This will result in the password being `changeme`. To just create a new admin user, see https://github.com/jc21/nginx-proxy-manager/issues/230#issuecomment-550565639
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#959
No description provided.