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
How can I add admin user #261
Comments
Hi - go to https://xxxxxxxxx/postfixadmin/setup.php - in there you can generate a new 'setup' password. You'll see something like :
You need to put that into the config.inc.php (perhaps) or config.local.php (better) file. That might be in somewhere like /etc/postfixadmin on the server. Once that's done, you can use setup.php to create a new admin account (the Create superadmin account form is only shown after you've submitted the form with something in). |
thank you for your response. I looked into setup.php and I did not find $CONF['setup_password'] = |
sorry; i screwed up my formatting; does it make more sense now? |
Sorry, but I do not understand: in setup.php i do not find the field $CONF['setup_password'] = |
Look in config.inc.php (perhaps) or config.local.php (better) file. |
I found the field: $CONF['setup_password'] ='85b.........' in the config.local.php |
As I said above, change it .... to a newly generated value that you know. The setup.php page will generate a setup password for you if you from the 'Change setup password' form (just type a new one into each box and click 'Generate password hash'). This will output what you need to put in your $CONF['setup_password'] entry (along with instructions) Then use that setup password to create a superadmin account using the form that's shown to you. In the screenshot attached I used something like 'asdf123' |
When i try to access https://xxxxxxxxx/postfixadmin/setup.php, the result is: How can i change the password if i can not access https://xxxxxxxxx/postfixadmin/setup.php? |
Check the web server config (and look for a .htaccess file too). |
Hello , |
Sorry; I missed this. Update your .htaccess file and change the line that currently says :
with
and you should be able to access setup.php (i.e. remove |
Hello David, |
what a piece of shit |
is there an alternative way I can not do this shit and still somehow use this php script? |
ok this is what you need to start telling people: HOW 2 FIXX
|
Hello,
We are using in our company postfix.admin v 2.3.6
The person who installed the application is not working any more in our co. We need to create another admin user. I attached a picture with the login screen.
May anybody help us?
Thank you for your support,
The text was updated successfully, but these errors were encountered: