This short guide describes how to retrieve a list of all the UISP login names and how to perform password recovery when needed. This method should be used when email password recovery is not possible.
sudo docker-compose versionIn case the docker-compose version is lower than 1.23.2 it is necessary to upgrade it. It is possible to use this command to do it (it may not work if docker-compose was not installed via UISP installation script).
sudo curl -sL "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
To change a user's password, specify the username as a parameter, and enter a new password when asked:
sudo ~unms/app/unms-cli set-password --username <username>
In case of any issues with two-factor authentication this command can be used to completely disable it:
sudo ~unms/app/unms-cli disable-two-factor --username <username>
When it is necessary to set super admin from outside of UISP GUI, this command is available
sudo ~unms/app/unms-cli set-superadmin --username <username>