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

    Passwords, I broke 'em...

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    15
    2.8k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      Please edit the fogserver file /opt/fog/.fogsettings and update the password= 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.

      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      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 1
      • P
        palloquin
        last edited by Wayne Workman

        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

        Tom ElliottT Wayne WorkmanW 2 Replies Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @palloquin
          last edited by

          @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”

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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
          • Wayne WorkmanW
            Wayne Workman @palloquin
            last edited by

            @palloquin I edited your post to show an example. Click the edit button to look at it.

            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/

            P 1 Reply Last reply Reply Quote 0
            • P
              palloquin @Wayne Workman
              last edited by

              @Wayne-Workman
              That is quite simple
              thanks!

              1 Reply Last reply Reply Quote 0
              • P
                palloquin
                last edited by palloquin

                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

                Tom ElliottT Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @palloquin
                  last edited by

                  @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.

                  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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  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 1
                  • Wayne WorkmanW
                    Wayne Workman @palloquin
                    last edited by

                    @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.

                    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
                      butch2861 @Wayne Workman
                      last edited by

                      @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?

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

                        @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

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

                          @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.

                          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/

                          1 Reply Last reply Reply Quote 0
                          • P
                            palloquin
                            last edited by

                            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:

                            1. re-run the install script
                              or
                            2. become much wiser than I am and do some linux-config-dark-magic-stuffto make it work.

                            right?

                            Tom ElliottT Wayne WorkmanW 2 Replies Last reply Reply Quote 1
                            • Tom ElliottT
                              Tom Elliott @palloquin
                              last edited by

                              @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.

                              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              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 1
                              • Wayne WorkmanW
                                Wayne Workman @palloquin
                                last edited by Wayne Workman

                                @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

                                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/

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

                                138

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.4k

                                Posts
                                Copyright © 2012-2024 FOG Project