mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 01:16:01 +03:00
[GH-ISSUE #905] Unable to Reset Admin Password #794
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#794
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nthisler on GitHub (Aug 15, 2016).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/905
I have not been able to determine a way to reset the admin password. Is this possible?
@tonioo commented on GitHub (Aug 26, 2016):
There is no shortcut for that but if you know a bit of python, you can run this:
(don't forget to load your virtual env if you use one) and then:
@tonioo commented on GitHub (Aug 30, 2016):
@nrotschafer Did it help you?
@Avalarion commented on GitHub (Nov 11, 2016):
Would it make sense to add a script with argument ( new password ) for this?
@gawel commented on GitHub (Nov 12, 2016):
If you write a script use https://docs.python.org/3/library/getpass.html#getpass.getpass
Storing a password in ~/.bash_history seems a bad idea.
@Avalarion commented on GitHub (Nov 12, 2016):
Will put this on my agenda ( even is python is not my preferred language ) as soon as there is a plan with the mail throttling.
@tonioo commented on GitHub (Oct 1, 2018):
A builtin django command is available for that:
@mamair commented on GitHub (Apr 27, 2019):
Thanx, worked for me too. Resetting password via webinterface seemed not to work, didnt get the email with the resetting instruction ... (since half an hour or so)
@mamair commented on GitHub (Apr 27, 2019):
Background of my problem: I want to run nginx behind hiawatha as reverse proxy and change the prts of nginx so my password was not available in my browser any more ... hope there are no problems in running other modoboa web interface on other ports
@iQiexie commented on GitHub (Sep 13, 2024):
You can also try this
/srv/modoboa/env/bin/python /srv/modoboa/instance/manage.py changepassword admin
@TahaKazi commented on GitHub (Feb 28, 2025):
Your method was plain simple... most recommended... thanks a lot