Page 1 of 1

Reset Old Unetlab Web Password

Posted: Mon Mar 27, 2017 12:03 am
by Professor
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,

Re: Reset Old Unetlab Web Password

Posted: Tue Mar 28, 2017 7:44 pm
by ramindia
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!

Re: Reset Old Unetlab Web Password

Posted: Wed Mar 29, 2017 11:34 pm
by freefd
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".

Re: Reset Old Unetlab Web Password

Posted: Fri Apr 07, 2017 12:11 am
by Professor
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,

Re: Reset Old Unetlab Web Password

Posted: Fri Apr 07, 2017 7:09 am
by ramindia
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!