• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Unable to reset web login

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    2
    290
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      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:

      https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL#Reset_MySQL_fog_user_and_password
      https://wiki.fogproject.org/wiki/index.php?title=Reset_WebUI_FOG_password
      https://wiki.fogproject.org/wiki/index.php/Password_Central

      … with no success. I still get “Invalid Login” when trying to log into the web UI. Any thoughts?

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        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.

        https://wiki.fogproject.org/wiki/index.php?title=Reset_WebUI_FOG_password

        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.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        148

        Online

        12.1k

        Users

        17.3k

        Topics

        155.3k

        Posts
        Copyright © 2012-2024 FOG Project