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

    Can't login after accidentally setting fog user to quick deployment

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    25
    3.9k
    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.
    • Wayne WorkmanW
      Wayne Workman @BusyTech
      last edited by

      @BusyTech

      mysql
      use fog;
      truncate table users;
      INSERT INTO `users` (`uName`,`uPass`,`uCreateBy`,`uType`) VALUES ('fog','$2y$11$g0Hu8OaOStuPk7WWYGh6Wu4PLlZDZGOkzMwEEAk.rZMrI9IdDwno.','localAdmin','0');
      

      then try to log in.

      After doing that, you’ll probably need to re-run the installer since you deleted the local fog user.

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      B 2 Replies Last reply Reply Quote 0
      • B
        BusyTech @Wayne Workman
        last edited by

        @Wayne-Workman
        Just so you know I never ran the one command to delete the local fog user. I was just asking if that was the command.
        Should i still do the above commands if haven’t deleted it?
        Sorry for the confusion. I just know you are probably helping other people too.

        1 Reply Last reply Reply Quote 0
        • B
          BusyTech @Wayne Workman
          last edited by

          @Wayne-Workman
          Completed that step. It came back as Query OK 1 row affected but NO LUCK. I did not delete the local fog user, at least not to the best of my knowledge. so I did not re-run the installer.

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @BusyTech
            last edited by Wayne Workman

            @BusyTech You need to run all those commands I posted, in order. If you did not run the command to delete the local fog user then you don’t need to re-run the installer - but you should know it isn’t ever a bad thing to re-run the installer. It can help you solve issues.

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            B 1 Reply Last reply Reply Quote 0
            • B
              BusyTech @Wayne Workman
              last edited by

              @Wayne-Workman
              I ran the codes in order that you posted. Unfortunately, it did not work. I will try running the installer but is there something else I should try?

              By the way, I am watching your Hitchhikers video. It is quite good. i really enjoyed the guy playing the guitar!

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

              137

              Online

              12.1k

              Users

              17.3k

              Topics

              155.3k

              Posts
              Copyright © 2012-2024 FOG Project