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

Hardware List:

The following section presents the list of equipment used to create this GLPI tutorial.

Every piece of hardware listed above can be found at Amazon website.

GLPI Related Tutorial:

On this page, we offer quick access to a list of tutorials related to GLPI.

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

Enter password:
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.

mysql>

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.

Copy to Clipboard

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:

• http://35.162.85.57/glpi

The GLPI web interface should be presented.

glpi login

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.

glpi dashboard

Congratulations! You successfully recovered the password of the GLPI Administrative user.