Would you like to learn how to recover the GLPI admin password? In this tutorial, we are going to show you how to use the GLPI password recovery procedure to change the password of the administrative user using the command-line of a computer running Ubuntu Linux.
• Ubuntu 18.04
• Ubuntu 19.04
• GLPI 9.4.3
Tutorial - GLPI Password Recovery
In our example, we are using MySQL as the database service for GLPI.
First, we need to access the MySQL server as root user.
Use the following command to install the required packages.
# apt-get update
# apt-get install mysql-client
Use the following command to login the MySQL server as root.
# mysql -u root -p
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 17226
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
The system will ask you to enter the root user MySQL password.
After entering the password, use the following MySQL commands to reset the GLPI user password.
In our example, we changed the glpi user password to glpi.
GLPI Dashboard Login
Open your browser and enter the IP address of your web server plus /glpi.
In our example, the following URL was entered in the Browser:
The GLPI web interface should be presented.
On the prompt screen, enter the GLPI Default Password login information.
• Username: glpi
• Password: glpi
After a successful login, you will be sent to the GLPI Dashboard.
Congratulations! You successfully recovered the password of the GLPI Administrative user.