Passwords, I broke 'em...
-
Please edit the fogserver file
/opt/fog/.fogsettings
and update thepassword=
field to match what you typed in the management page. After this re-run the fog installer, it will update your system’s fog user passwords. -
Hi Tom!
another week, another question you help me with
/opt/fog/.fogsettings contains some form of encoded password at the moment.
should I replace it with “password” plain text to reset?
and… how do you make pards of your code red in your posts?
testing
123
-
@palloquin The “password” you’re seeing currently is a randomly set password. It is the “plaintext” password.
To make parts “red” as you stated I’m using “backtick{elementtoredden}backtick”
-
@palloquin I edited your post to show an example. Click the edit button to look at it.
-
@Wayne-Workman
That isquite simple
thanks! -
Ok, panic is over, things are working again…
Now for the million dollar question…
What if, some one, insane as this might sound, would think 'Hmmmmm I don’t like it if my password is… “password” ', what if this foolish person was bent on changing it… how would he go about that?
Is there a step by step guide?
:)
Thanks!
Daaf
-
@palloquin THe simplest method:
Edit the
/opt/fog/.fogsettings
file and edit between the'
's to set whatever password you want.Re-run the fog installer.
-
@palloquin What tom said is probably part of half of the things we say here. do this, do that, blah blah then re-run the fog installer. The fog installer is the first thing you should ‘just run’ when your server is in trouble. It makes sure a bunch of things are set correctly, it rewrites web files, can configure dhcp, restarts services - lots of stuff.
-
@Wayne-Workman
Hey guys…THIS is my exact problem I am having with my server today…is my FOG Storage Node password to be the same as my TFTP Server password? -
@Wayne-Workman
I went ahead and am doing the update now…
to Fog
after the update it is saying i need to install/update my database schema…by going into the web interface…what do I do when I am there? saying press enter when database is updated/installed -
@butch2861 said in Passwords, I broke 'em...:
what do I do when I am there?
As it says. Visit your web interface, this is referring to your FOG Server’s web interface. http://x.x.x.x/fog/management where x.x.x.x is your FOG Server’s IP address.
-
Thanks @Tom-Elliott , @Wayne-Workman !
I’ll keep the re-run in mind in case of future issues.
This begs the question though… Why can I change the ‘fog’ user’s password through the web interface if this just breaks it…
If I understand correctly, there is no way of just using the web interface to change the fog user’s password. I will always afterwards have to either:- re-run the install script
or - become much wiser than I am and do some
linux-config-dark-magic-stuff
to make it work.
right?
- re-run the install script
-
@palloquin Correct.
Just like you wouldn’t want a website being capable of resetting your windows password on a whim, we don’t allow changing the “users” password from the fog website. Imagine if we did? All you would need to do is type root, password and any person would have access to your system.
-
@palloquin said in Passwords, I broke 'em...:
Why can I change the ‘fog’ user’s password through the web interface if this just breaks it…
I should clairify something here - the web credentials you use to log into the web interface are not the same credential-set as the storage node’s default ‘fog’ account. These are two completely separate and independent things. The wiki article called “Password Central” explains every single password in the FOG Server, how it’s used, what it’s for, where to change it. You might look through it if you’re really interested in learning more
linux-config-dark-magic-stuff