1

Topic: Administrator Password Reset

Hi All

After restarting Ubuntu yesterday; as an administrator I'm locked out. Help?
Active directory users can still login etc.

Basically I'm wondering where I can reset/rewrite the admin to default admin glpi credentials?

Thanks

marts

2

Re: Administrator Password Reset

Did you have another Super-Admin Account?

3

Re: Administrator Password Reset

No I don't, I can login with the tech ac. but not the default glpi.

4

Re: Administrator Password Reset

hello
glpi account may be locked.
if you don't have another super admin account, you can change in DB field active from 0 to 1 for user glpi in glpi_users table.

5

Re: Administrator Password Reset

Hey

The glpi user is already set to 1.
I had a look at some of the other settings like resting the password, still no joy. What about removing this user from the db and adding it again?

thanks for your help <3

6

Re: Administrator Password Reset

Try

UPDATE glpi_users SET password_md5 = MD5( 'glpi' ) WHERE name='glpi';

++

Dév. Fedora 23 - PHP 5.4/5.5/5.6/7.0/7.1 - MariaDB 10.0 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur http://blog.remirepo.net/

7

Re: Administrator Password Reset

Hey remi

No joy, still can't login:(

thx

8

Re: Administrator Password Reset

Have you still the user "glpi" in glpi_users ?
And which is your glpi's version ?

CentOS 6.5 - PHP 5.5.25 - PHP 5.6 - PHP 7 - MySQL 5.6  + APC + memcached
GLPI 0.90.4 SVN - GLPI 9.1 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

9

Re: Administrator Password Reset

Hi
Yes the user is still in glpi_users and I'm using latest version.

10

Re: Administrator Password Reset

yllen wrote:

Have you still the user "glpi" in glpi_users ?
And which is your glpi's version ?

Hi yllen, I do this "UPDATE glpi_users SET password_md5 = MD5( 'glpi' ) WHERE name='glpi';" and give error "no "password_md5" so I just change it to "password" and in works.

Now I have the glpi user with default password BUT when I clic login it says "You dont have permissions to conect this aplication", help please!..

My GLPI version is 0.90.1

11

Re: Administrator Password Reset

Same problem i want to rest but i can't.......

12

Re: Administrator Password Reset

in 0.90 the password is sha1 encoded, not md5

CentOS 6.5 - PHP 5.5.25 - PHP 5.6 - PHP 7 - MySQL 5.6  + APC + memcached
GLPI 0.90.4 SVN - GLPI 9.1 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)