Reset Old Unetlab Web Password

Moderator: mike

Post Reply
Professor
Posts: 6
Joined: Sun Mar 26, 2017 11:58 pm

Reset Old Unetlab Web Password

Post by Professor » Mon Mar 27, 2017 12:03 am

Hi,

I need to export my labs from Unetlab and import them into Eve but I cannot login to Unetlab. How do I reset that password.

Thank you,

ramindia
Posts: 409
Joined: Sun Mar 19, 2017 10:27 pm

Re: Reset Old Unetlab Web Password

Post by ramindia » Tue Mar 28, 2017 7:44 pm

Professor wrote:
Mon Mar 27, 2017 12:03 am
Hi,

I need to export my labs from Unetlab and import them into Eve but I cannot login to Unetlab. How do I reset that password.

Thank you,
try default passwords admin/unl or admin/eve , have you changed the passwords before for admin ?

R!

freefd
Posts: 8
Joined: Wed Mar 29, 2017 11:22 pm

Re: Reset Old Unetlab Web Password

Post by freefd » Wed Mar 29, 2017 11:34 pm

Professor wrote:
Mon Mar 27, 2017 12:03 am
Hi,

I need to export my labs from Unetlab and import them into Eve but I cannot login to Unetlab. How do I reset that password.

Thank you,
Hello,

If you don't know password for "admin" user, it is possible to reset it directly from the SQL using from shell:

Code: Select all

echo 'update users set password="dddc487d503fdb607bc113821a7416cfd67a3abf77f4ec87ee5797449bdca796" where username="admin"' | mysql -u root -peve-ng eve_ng_db
dddc487d503fdb607bc113821a7416cfd67a3abf77f4ec87ee5797449bdca796 hash has been taken from https://gitlab.com/eve-ng-dev/eve-ng-pu ... b.sql#L106 and means "unl".

Professor
Posts: 6
Joined: Sun Mar 26, 2017 11:58 pm

Re: Reset Old Unetlab Web Password

Post by Professor » Fri Apr 07, 2017 12:11 am

Yes I did change the admin password previously. The instructions above is for EVE not the old UNETLAB. do you have the instructions for the old UNETLAB?

Thank you,

ramindia
Posts: 409
Joined: Sun Mar 19, 2017 10:27 pm

Re: Reset Old Unetlab Web Password

Post by ramindia » Fri Apr 07, 2017 7:09 am

Professor wrote:
Fri Apr 07, 2017 12:11 am
Yes I did change the admin password previously. The instructions above is for EVE not the old UNETLAB. do you have the instructions for the old UNETLAB?

Thank you,
Above mentioned procedure still valid same for old UNL. Login to MySQL check the DB and change the DB with same procedure.

R!

Post Reply