Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Could not get authorization that is needed for continuing the installation.
Forum Updated to NodeBB v4.3 + New Features

Could not get authorization that is needed for continuing the installation.

Scheduled Pinned Locked Moved General and Desktop
installerbughang
14 Posts 4 Posters 7.8k Views 2 Watching
  • 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.
  • jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #3

    As far as I know RHEL does not use sudo by default. What you should do instead is: log in as root calling "su" in the command line and then start the installer.

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    RatzzR 1 Reply Last reply
    0
    • jsulmJ jsulm

      As far as I know RHEL does not use sudo by default. What you should do instead is: log in as root calling "su" in the command line and then start the installer.

      RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by
      #4

      @jsulm
      In Ubuntu 10.04,11.04 using double click or from the terminal in all users and using root works fine for all paths.
      In rhel using terminal for all users and root user works fine for all path.
      Problem is only with users other than root using double click only for only /opt path. For other path it works fine .

      --Alles ist gut.

      jsulmJ 1 Reply Last reply
      0
      • RatzzR Ratzz

        @jsulm
        In Ubuntu 10.04,11.04 using double click or from the terminal in all users and using root works fine for all paths.
        In rhel using terminal for all users and root user works fine for all path.
        Problem is only with users other than root using double click only for only /opt path. For other path it works fine .

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #5

        @Ratzz Normal users are not allowed to write to /opt
        In general, normal users are only allowed to write in their home directory an /tmp
        So, you need to be root if you want to install in /opt.
        If you do call a command with sudo on Ubuntu then you become root during execution of that command, that's why it works with sudo on Ubuntu.
        On RHEL try to call su in a terminal and enter your root password and then call the install app from same terminal.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        RatzzR 1 Reply Last reply
        0
        • jsulmJ jsulm

          @Ratzz Normal users are not allowed to write to /opt
          In general, normal users are only allowed to write in their home directory an /tmp
          So, you need to be root if you want to install in /opt.
          If you do call a command with sudo on Ubuntu then you become root during execution of that command, that's why it works with sudo on Ubuntu.
          On RHEL try to call su in a terminal and enter your root password and then call the install app from same terminal.

          RatzzR Offline
          RatzzR Offline
          Ratzz
          wrote on last edited by
          #6

          @jsulm said:

          On RHEL try to call su in a terminal and enter your root password and then call the install app from same terminal.

          It works on this case.

          --Alles ist gut.

          jsulmJ 1 Reply Last reply
          0
          • RatzzR Ratzz

            @jsulm said:

            On RHEL try to call su in a terminal and enter your root password and then call the install app from same terminal.

            It works on this case.

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #7

            @Ratzz What's the problem then?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            RatzzR 1 Reply Last reply
            0
            • jsulmJ jsulm

              @Ratzz What's the problem then?

              RatzzR Offline
              RatzzR Offline
              Ratzz
              wrote on last edited by
              #8

              @jsulm
              Problem only when i try to install the installer on double click on /opt path only.

              --Alles ist gut.

              JohanSoloJ jsulmJ 2 Replies Last reply
              0
              • RatzzR Ratzz

                @jsulm
                Problem only when i try to install the installer on double click on /opt path only.

                JohanSoloJ Offline
                JohanSoloJ Offline
                JohanSolo
                wrote on last edited by
                #9

                @Ratzz said:

                Problem only when i try to install the installer on double click on /opt path only.

                On linux this is not meant to be done this way... Install scripts are meant to be run from the terminal, using root privileges. Ubuntu tweaks the logic by allowing everyone to prepend a sudo to every possible command, but it by far not the standard way.

                `They did not know it was impossible, so they did it.'
                -- Mark Twain

                1 Reply Last reply
                0
                • RatzzR Ratzz

                  @jsulm
                  Problem only when i try to install the installer on double click on /opt path only.

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #10

                  @Ratzz As I already sad before on UNIX/Linux a normal, non root, user is NOT allowed to write to /opt!

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  RatzzR 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @Ratzz As I already sad before on UNIX/Linux a normal, non root, user is NOT allowed to write to /opt!

                    RatzzR Offline
                    RatzzR Offline
                    Ratzz
                    wrote on last edited by
                    #11

                    @jsulm
                    but in ubuntu on double click of installer on /opt path it ask for root password and it installs with root password .
                    But in rhel on double click of installer on /opt path it ask for root password and it installs with root password it gives error as show in original post.

                    --Alles ist gut.

                    JohanSoloJ jsulmJ 2 Replies Last reply
                    0
                    • RatzzR Ratzz

                      @jsulm
                      but in ubuntu on double click of installer on /opt path it ask for root password and it installs with root password .
                      But in rhel on double click of installer on /opt path it ask for root password and it installs with root password it gives error as show in original post.

                      JohanSoloJ Offline
                      JohanSoloJ Offline
                      JohanSolo
                      wrote on last edited by
                      #12

                      @Ratzz said:

                      but in ubuntu on double click of installer on /opt path it ask for root password and it installs with root password .

                      As you were told Ubuntu's not linux. They've tweaked the usual behaviour to allow people to do things without thinking.

                      `They did not know it was impossible, so they did it.'
                      -- Mark Twain

                      1 Reply Last reply
                      0
                      • RatzzR Ratzz

                        @jsulm
                        but in ubuntu on double click of installer on /opt path it ask for root password and it installs with root password .
                        But in rhel on double click of installer on /opt path it ask for root password and it installs with root password it gives error as show in original post.

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #13

                        @Ratzz Is the user you are using member of the group "sudo"? You can check this by typing "groups" in a terminal. At least on Ubuntu a user must be member of "sudo" group to be able to use sudo command.

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        RatzzR 1 Reply Last reply
                        0
                        • jsulmJ jsulm

                          @Ratzz Is the user you are using member of the group "sudo"? You can check this by typing "groups" in a terminal. At least on Ubuntu a user must be member of "sudo" group to be able to use sudo command.

                          RatzzR Offline
                          RatzzR Offline
                          Ratzz
                          wrote on last edited by Ratzz
                          #14

                          @jsulm said:

                          You can check this by typing "groups" in a terminal.

                          it gave me "root"

                          --Alles ist gut.

                          1 Reply Last reply
                          0

                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved