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

Removal of Fog user in Fog Project

Scheduled Pinned Locked Moved
General
3
7
661
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.
  • Z
    zfeng
    last edited by May 24, 2022, 6:16 PM

    Hi guys, what happens if I remove the default fog user in the fog dashboard? does it create some kind of issue? Of course, I need to create other users first to log in.

    G 1 Reply Last reply May 24, 2022, 6:20 PM Reply Quote 0
    • G
      george1421 Moderator @zfeng
      last edited by May 24, 2022, 6:20 PM

      @zfeng You can remove the default user fog and probably should for security reasons. But before you do that I would create a new admin user or you will loose access to the web ui. There is nothing unique about the fog web ui user other than he’s an admin.

      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!

      1 Reply Last reply Reply Quote 1
      • Z
        zfeng
        last edited by May 24, 2022, 6:59 PM

        @george1421 thanks for your quick response. I believe that all users we create through the web UI are admin users. I come into a very odd situation.

        1. I created image 1 and captured the info through computer A with the default fog user. This image 1 works perfectly fine when I deploy to computer B and C
        2. I then created a new user, called test, without the API enabled, and removed the default user fog through the UI (default user had UI enabled). Since the image 1 is created through the fog user, everything still works fine with deployment
        3. Now we don’t have the default user fog, I use the user test to create image 2 and capture info through computer D. I then deploy this image 2 to computer B, everything looks fine. When I deploy the image 2 to computer C, the problem occurs. The problem happens when it tries to expand the /dev/sda2, right after the cloning process is done with the message “cloning successfully” is printed out.

        Computers A,B, and D are actually the same type. Computer C is a newer version of them but should be the same.

        To prove that fog user is important, I build another fog project and keep the fog user when creating new image. I use computer A to get the image and deploy to computer C. Everything works perfectly.

        like what I said, this is just something odd. For now I will keep the fog user when creating images

        G 1 Reply Last reply May 24, 2022, 7:32 PM Reply Quote 0
        • G
          george1421 Moderator @zfeng
          last edited by May 24, 2022, 7:32 PM

          @zfeng said in Removal of Fog user in Fog Project:

          I build another fog project and keep the fog user when creating new image. I use computer A to get the image and deploy to computer C. Everything works perfectly.

          While I understand what you are saying but the fog user should not be important since that is for the web ui only. Unless is api key is use someplace deep down inside the code, once imaging starts the web ui is only in monitoring mode.

          So in my mind the question are:

          1. is it actually a user called fog that is important (hint rename fog to fogadmin but keep same uid)
          2. is it a user with a uid of 1 that is important (delete original fog user and create new one this should generate a new uid with the same account name)
          3. How is this possible? (something only the @Developers can answer)

          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!

          1 Reply Last reply Reply Quote 0
          • Z
            zfeng
            last edited by May 24, 2022, 7:49 PM

            That is the odd part. If there is something wrong with the new user while the default user is gone, the problem should happen to all computer deployment. However, the problem happens to certain deployment. If I remember correct, I also saw the issue when expanding the “/dev/sda2” while capturing the image. It just says that it cannot expand th “/dev/sda2”

            1 Reply Last reply Reply Quote 0
            • Z
              zfeng
              last edited by May 24, 2022, 9:25 PM

              I think there something has to do with the newer computer I have, nothing wrong with the Fog project itself. Sorry for the false alarm

              W 1 Reply Last reply May 25, 2022, 4:29 AM Reply Quote 1
              • W
                Wayne Workman @zfeng
                last edited by May 25, 2022, 4:29 AM

                @zfeng Glad you figured this out. When you find a contradiction, check your premises. You will find that one or more is incorrect, or they are incomplete.

                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
                • 1 / 1
                1 / 1
                • First post
                  1/7
                  Last post

                177

                Online

                12.1k

                Users

                17.3k

                Topics

                155.4k

                Posts
                Copyright © 2012-2024 FOG Project