If you have lost administrative access to your Citadel installation (for example, if you forgot your administrator account password or inadvertently removed your administrator privileges), you can regain full control at any time by running the Citadel setup utility.
The setup utility allows you to designate any new or existing user account as the System Administrator. The next time that user logs in, Citadel automatically grants them administrator privileges.
If your server was installed using Easy Install, run the setup program directly on the host console as root:
/usr/local/citadel/setup
If you are running Citadel in a Docker container, execute the setup binary inside the running container:
docker exec -it citadel /usr/local/citadel/setup
When the setup program reaches the administrator prompt:
<System Administrator> Enter the name of the system administrator (which is probably you). When an account is created with this name, it will automatically be given administrator-level access.
Note: If your system is configured to use external LDAP authentication, specify the user's directory display name.