Unable to reset web login
Karl_MCS last edited by
Good afternoon. Someone has brought me an old Fog server and would like to gain access to it. They have no passwords or any prior knowledge regarding the server. The system is running Fog 1.2.0 on Ubuntu 12.04.5 LTS. I have already reset the system root password and gained CLI access, and I have access to the mysql db, but I have had no luck getting logged into Fog. I have tried to reset the password following these guides:
… with no success. I still get “Invalid Login” when trying to log into the web UI. Any thoughts?
zoziano last edited by zoziano
The wiki page you linked earlier should allow you to log into the web console. You might have to reboot he FOG server after you reset the password in the database because of the way FOG cache’s recent activity.
From the wiki this command should do it for you.
UPDATE users SET uPass = MD5('password') WHERE uName = 'fog'; exit;
I do have to say FOG 1.2.0 running on ubuntu 12.04 is really old. Unless you really need access to the images stored on that server, I (personally) would just spin up a new FOG server using a current build. FOG 1.2.0 doesn’t support win10, uefi firmware, nvme disks, or current hardware. If you need the images from the FOG 1.2.0 server you can copy them over to a new fog server and use them.