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

    Quick Host Registration Error

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    15
    4.4k
    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

      You need to be root.

      try:
      [code] sudo “mv /tftpboot/fog/kernel/bzImage /tftpboot/fog/kernel/bzImage.ORIG” [/code]

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

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          It looks like you missed the second quotation mark.

          Type CTRL+C in the terminal. you’ll be back at the:
          savu@savu-MS-7673:~$ prompt

          Try copy and paste the below command:

          [code]sudo mv /tftpboot/fog/kernel/bzImage /tftpboot/fog/kernel/bzimage.ORIG; sudo cp bzImage /tftpboot/fog/kernel/bzImage[/code]

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

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              That’s perfectly fine. You should be set.

              sudo command gives temporary access as your user (savu) to root. This is why you have to type your password.

              You can, more easily, use this same method by signing in directly as root.

              Open the terminal.

              Type
              [code]sudo su -[/code]

              Enter the user’s password. You will then be presented with a command prompt of something like:
              root@savu-MS-7673:~#

              The $ symbol is usually used to describe a user. # symbol usually represents “root” access.

              Then you can type the commands without sudo preceding 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! 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
              • D
                dOR1n
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • C
                  chad-bisd Moderator
                  last edited by

                  another neat trick I learned is that if you try to execute a really long and complicated command and it gives you access denied because it needs sudo, you can just type[CODE]sudo !![/CODE] and it will execute the previous command with sudo.


                  If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    It’s actually way more useful than just the last stated command.

                    !! (bang bang) as is often used in my tech world, basically in *nix systems means to redo the last command.

                    So lets say you type:

                    [code]mv /tftpboot/fog/kernel/bzImage /tftpboot/fog/kernel/bzImage.ORIG[/code]

                    And get the last command permission denied, you are literally just telling it with:

                    [code]sudo !![/code]

                    Repeat the last command typed but prepend sudo to that command.

                    If you type the command:
                    [code]history[/code]

                    You be presented with a screen similar to this:
                    [code]1000 exit
                    1001 history[/code]
                    The Number columns are the number of commands stored, and the iteration of that command you’re on. In this case, the 1000 command I typed was exit, and 1001 was history.

                    If let’s say the mv command from above was 200 on the list, and I typed many other commands, but need to repeat the 200 command. I would just type:
                    [code]!200[/code] It will redo the 200 command.

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

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • D
                        dOR1n
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        252

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project