Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] Admin acco...
 
Notifications
Clear all

[SOLVED] Admin account blocked, now what....?

6 Posts
3 Users
0 Reactions
5,259 Views
 ANCM
(@ancm)
Posts: 16
Active Member
Topic starter
 
[#4695]

Hi,

What to do when the (only) admin account is blocked and you cannot log on? 😉

Any suggestions appreciated.

Regards,

Mike


 
Posted : 12 Oct 2017 23H43
Dale Scott
(@dale)
Posts: 12
Active Member
 

Do you know why the admin user is "blocked", or what action caused the admin user to be blocked?

If it's a password problem, you should be able to use the "Forgot Password" link on the login page (assuming you have email working). The UI doesn't support making the logged-in user "inactive", but if this is what happened somehow you can connect directly to the database (using e.g. mysql cli, phpmyadmin, adminer, etc.) and edit/change the status to "1".

If it's a password problem but you don't have email working, connect directly to the database and change the password hash to something known. E.g. for password "secret", use "5ebe2294ecd0e0f08eab7690d2a6ee69".

Good luck,
Dale


 
Posted : 13 Oct 2017 1H10
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Update database, table resource, for line of corresponding user (defaut admin is first one)
Set locked=0
If you loose password
set password='newpassword', crypto=null


 
Posted : 13 Oct 2017 22H24
 ANCM
(@ancm)
Posts: 16
Active Member
Topic starter
 

Hi,

As of 6.52 I receive the message:

ERROR 1054 (42S22): Unknown column 'isLdpa' in 'field list'

Any suggestion?

Regs.

Mike


 
Posted : 15 Jan 2018 11H53
 ANCM
(@ancm)
Posts: 16
Active Member
Topic starter
 

Hi,

As of 6.52 I receive the message:

ERROR 1054 (42S22): Unknown column 'isLdpa' in 'field list'

Any suggestion?

Regs.

Mike

I used:

UPDATE resource SET password='newPassword', crypto=NULL, isLdpa=0 WHERE id=1;


 
Posted : 15 Jan 2018 11H53
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

field is "isLdap", not "isLdpa"

UPDATE resource SET password='newPassword', crypto=NULL, isLdap=0 WHERE id=1;

 
Posted : 15 Jan 2018 15H25
Share:

Scroll to Top