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

    Cannot log into the fog server management

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    4
    922
    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.
    • W
      weidongyan
      last edited by

      Hi team, I got a problem to log into the management dashboard. I was searching the fog server management, and I accidentally changed the password for the fog user. It was a password containing with some symbols and numbers and I want to change the password that I could remember, but I did not remember where to use that password, because I did not set that. After updating the password, I was imaging other computer. After finishing, there is an error saying log in incorrect. And I cannot log into the fog server management. Do I need to update some information somewhere? I tried username: fog and password. It is not working and I tried the password that I entered. Not working either.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth

        @weidongyan Be careful not to mix up two different things here. The username and password for the web UI is a different one than the one used when you see the error message after a computer finished imaging.

        So I am not exactly sure what you did and what went wrong. The credentials for the web UI are fog as username and password by default. The credentials used for image transfer at the end of capturing an image are fogproject (used to be fog in older versions) and a randomly generated password.

        If it’s really the web UI you can’t login to anymore then you need to manually connect to the database and reset the password:

        shell> mysql -u root -p
        Password:
        ...
        mysql> use fog;
        ...
        mysql> UPDATE users SET uPass = '$2y$11$SXkuxaQKezq.PKvGaMlZAuSZgZpc0MQpD4k9n2APkD4PRIEtl7xdS' WHERE uName = 'fog';
        

        After that you should be able to login to the web UI using password again.

        This wiki article is your friend: https://wiki.fogproject.org/wiki/index.php/Password_Central

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        W 1 Reply Last reply Reply Quote 0
        • W
          weidongyan @Sebastian Roth
          last edited by

          @Sebastian-Roth Hi, I changed the fogproject 's password. After changing it, I cannot log into the Web UI any more. I just browsed the Web UI and saw that password was not the one that could be remembered. So I changed it. I think I should not do that, right?

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @weidongyan said in Cannot log into the fog server management:

            I changed the fogproject 's password. After changing it, I cannot log into the Web UI any more.

            Again you are mixing up two different things here. Please read my last message very carefully.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

            260

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project