Solved Password changed on fog trunk update
I have a clean ubuntu 14.04 server running fog originally 1.2.0.
I recently did a trunk update (7615) on it and after the entire update, the admin password to my server gets changed.
the web GUI to fog is the same, but the system admin password to the server/tftp/etc gets changed.
I would have to do a password recovery method to reset the system password.
It’s bad practice to use the fog account on the server locally.
Additionally, you shouldn’t make the account yourself. the installer does it.
Make another account just for you.
Also, inside of the
/opt/fog/.fogsettingsfile, whatever is set as the password in there is what the fog user’s password gets set as whenever you run the installer.
@Wayne-Workman also - you can probably get the password by going into Stoage Management and seeing what’s set in there - maybe. doubtful though since this was an upgrade and not a fresh install.
@nrg I think you need to check the settings in config.class.php as well. Make sure the username/password is right there.
@Scott-Adams He wouldn’t be able to if he has no local access to the server.
@Wayne-Workman Correct. But, after he gets logged in (rather by info from Storage Management or by resetting password through recovery), the config.class.php might need to be checked. I thought this was the file used for installs/upgrades.
@Scott-Adams Not that I’m aware of. The installer builds that file based on what’s in
You guys are right. fixed the .fogsettings config password (pretty sure it’s generated by fog itself).
matched it with the password I changed it too. now while updating, it will read the right password.