Cannot log into the fog server management
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.
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.
@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?
@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
fogas username and
passwordby default. The credentials used for image transfer at the end of capturing an image are
fogproject(used to be
fogin 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
This wiki article is your friend: https://wiki.fogproject.org/wiki/index.php/Password_Central