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

    using kerberos - Setting up fog password failed!

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    6
    1.1k
    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.
    • L
      Lebowski
      last edited by

      Hi,
      i’m using debian with Kerberos. Setting up the password for user fog fails. The reason is line 1045 in lib/common/functions.sh:

      echo -e "$password\n$password" | passwd $username >>$workingdir/error_logs/fog_error_${version}.log 2>&1
      

      If i try to change the password for a user in the terminal i will be prompt for the current password:

      ...$ sudo passwd fog
      Current Kerberos password:
      

      After this i can enter the new password.

      Any idea, how to avoid this?

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

        @lebowski What’s the actual error?

        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
        • Tom ElliottT
          Tom Elliott
          last edited by

          While I understand what you’re doing, I don’t know that this is a feasible element to incorporate into the server elements of fog. Not because it couldn’t be done, but rather what the fog user represents for the server. The fog user should be a local account to the machine similar to the root user.

          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
          • L
            Lebowski
            last edited by

            I try to integrate it onto an existing server. So Kerberos is still runing.
            It seems to wirk, if i uncomment the line. After installation i set ther passwd using the Kerberos admin console and the passwort from /var/www/fog/lib/fog/config.class.php

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

              @lebowski said in using kerberos - Setting up fog password failed!:

              I try to integrate it onto an existing server.

              That’s a really bad idea and will only cause you problems. FOG wants it’s own OS, and doesn’t play nice with other software. You’ve likely broken things that were already on the box simply by trying to install FOG onto 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/

              1 Reply Last reply Reply Quote 0
              • L
                Lebowski
                last edited by Lebowski

                i try a virtual machine …

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

                170

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project