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

    Setting fog's password

    Scheduled Pinned Locked Moved
    General
    4
    25
    3.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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by Wayne Workman

      Also, if the storage node management pass doesn’t match what’s inside /opt/fog/.fogsettings when the installer runs, the installer will fix it then too.

      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
      • D
        dpotesta50
        last edited by

        I’m copying and pasting the password from the log file into the command prompt screen after typing “sudo password fog”. Incorrect password every time.

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

          @dpotesta50 Set your desired password inside of /opt/fog/.fogsettings in the username and password fields, then just re-run the installer. The installer will look at .fogsettings and go fix everything else for you.

          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/

          D 1 Reply Last reply Reply Quote 0
          • D
            dpotesta50 @Wayne Workman
            last edited by dpotesta50

            @wayne-workman So just change the password in that one text file, re-run the installation and it will copy the new password into all the appropriate areas?

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

              @dpotesta50 Yep.

              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/

              D 1 Reply Last reply Reply Quote 0
              • D
                dpotesta50 @Wayne Workman
                last edited by

                @wayne-workman I’m getting “permission denied” when trying to access /root/fogproject.

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

                  @dpotesta50 You should do all this stuff as root. Become root properly with this command: sudo -i

                  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/

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    dpotesta50 @Wayne Workman
                    last edited by

                    @wayne-workman I’m sorry I literally know nothing about linux. What’s the context of that “sudo -i” command?

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

                      @dpotesta50 I don’t think there is any more context than what I gave. sudo -i is how to properly become root. Here’s a copy of the manual for the sudo command: https://linux.die.net/man/8/sudo Look at the -i argument. It properly simulates a login. If you don’t pass a username argument, root is assumed.
                      You can learn Linux for free from internet sources, there are lots of tutorials (and this is how I learned mostly). For paid resources, I’d recommend acloud.guru https://acloud.guru/learn/lpic-1 (which I’ve also went through recently).

                      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/

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        dpotesta50 @Wayne Workman
                        last edited by Sebastian Roth

                        @dpotesta50 said:

                        Okay got into the folder but on ours it’s /root/fogproject_git and there is no installfog.sh

                        Do you have /root/fogproject_git/bin/installfog.sh?

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

                          @dpotesta50 Just delete that directory and re-clone fog. Here are steps: https://wiki.fogproject.org/wiki/index.php?title=Getting_FOG

                          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/

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            dpotesta50 @Wayne Workman
                            last edited by

                            @wayne-workman I really don’t want to do that. I did not set this up. The engineering before me did and it works for existing images. I just cant get new images uploaded to it. I’m afraid with my extreme lack of knowledge, deleting the directory will be catastrophic.

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

                              @dpotesta50 Well my advice is solid, and all I can really do here is give you advice. Here’s the command to delete that directory:
                              sudo rm -rf /root/fogproject_git
                              After that, follow along with the “Getting FOG” article.

                              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/

                              D 2 Replies Last reply Reply Quote 0
                              • D
                                dpotesta50 @Wayne Workman
                                last edited by

                                @wayne-workman oh I don’t deny your advice at all and are grateful for your help. Believe me. VERY grateful. Is what your instructing me to do just deleting the installation folder to rebuild it, or the actual installed application?

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

                                  @wayne-workman The FOG program I have installed needs updating. Will doing this do the same as a re-installation would?

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

                                    @dpotesta50 said in Resyncing FOG’s service account password:

                                    The FOG program I have installed needs updating

                                    What do you mean by that?

                                    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

                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      dpotesta50 @Sebastian Roth
                                      last edited by

                                      @sebastian-roth The program itself is saying there is a newer version available for download. If I updated the FOG program to the latest version, will it resolve my password issues?

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

                                        @dpotesta50 said in Resyncing FOG’s service account password:

                                        Is what your instructing me to do just deleting the installation folder to rebuild it, or the actual installed application?

                                        This is just the installation files. the actual FOG installation is literally all over the OS in lots of other places.

                                        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/

                                        D 1 Reply Last reply Reply Quote 0
                                        • D
                                          dpotesta50 @Wayne Workman
                                          last edited by

                                          @wayne-workman If the app I’m running is an older version, will this install the latest version of the installation files?

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

                                            @dpotesta50 said in Resyncing FOG’s service account password:

                                            If the app I’m running is an older version, will this install the latest version of the installation files?

                                            Yes, but ‘latest version’ lacks context here. Fog has branches, which is explained in the ‘Getting FOG’ article. The master branch has the latest stable version, which is 1.4.4 as of December 2017.

                                            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/

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

                                            200

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project