0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
postfixadmin/DOCUMENTS/SUPERADMIN.txt

21 lines
902 B
Plaintext
Raw Normal View History

2021-01-29 22:19:07 +01:00
# Recreating a superadmin account
2021-01-29 22:19:07 +01:00
Login to setup.php using the setup_password you have setup config.local.php to contain.
2021-01-29 22:19:07 +01:00
From setup.php you can add a 'superadmin' account. This account can access any domain or mailboxes defined within Postfixadmin.
2021-01-29 22:19:07 +01:00
The 'superadmin' account is able to create additional 'admin' users which have their access restricted to domains of your choice.
2021-01-29 22:19:07 +01:00
## Forgotten setup_password
2021-01-29 22:19:07 +01:00
In case you forgot your superadmin username or password, you can create a new superadmin account using setup.php.
## Forgotten superadmin username(s)
Once you have authenticated with your setup_password on setup.php, a list of superadmin usernames is printed out.
## Forgotten superadmin password
The easiest approach is to create a new superadmin user, and then using a database tool of your choice update the old
user with the password hash to have the password hash of a new user.