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.5k 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.
  • J jsulm
    21 Oct 2015, 04:37

    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.

    R Offline
    R Offline
    Ratzz
    wrote on 21 Oct 2015, 05:23 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.

    J 1 Reply Last reply 21 Oct 2015, 05:38
    0
    • R Ratzz
      21 Oct 2015, 05:23

      @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 .

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 21 Oct 2015, 05:38 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

      R 1 Reply Last reply 21 Oct 2015, 05:39
      0
      • J jsulm
        21 Oct 2015, 05:38

        @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.

        R Offline
        R Offline
        Ratzz
        wrote on 21 Oct 2015, 05:39 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.

        J 1 Reply Last reply 21 Oct 2015, 05:39
        0
        • R Ratzz
          21 Oct 2015, 05:39

          @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.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 21 Oct 2015, 05:39 last edited by
          #7

          @Ratzz What's the problem then?

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

          R 1 Reply Last reply 21 Oct 2015, 05:52
          0
          • J jsulm
            21 Oct 2015, 05:39

            @Ratzz What's the problem then?

            R Offline
            R Offline
            Ratzz
            wrote on 21 Oct 2015, 05:52 last edited by
            #8

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

            --Alles ist gut.

            J J 2 Replies Last reply 21 Oct 2015, 05:55
            0
            • R Ratzz
              21 Oct 2015, 05:52

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

              J Offline
              J Offline
              JohanSolo
              wrote on 21 Oct 2015, 05:55 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
              • R Ratzz
                21 Oct 2015, 05:52

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

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 21 Oct 2015, 06:01 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

                R 1 Reply Last reply 21 Oct 2015, 06:05
                0
                • J jsulm
                  21 Oct 2015, 06:01

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

                  R Offline
                  R Offline
                  Ratzz
                  wrote on 21 Oct 2015, 06:05 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.

                  J J 2 Replies Last reply 21 Oct 2015, 06:07
                  0
                  • R Ratzz
                    21 Oct 2015, 06:05

                    @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.

                    J Offline
                    J Offline
                    JohanSolo
                    wrote on 21 Oct 2015, 06:07 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
                    • R Ratzz
                      21 Oct 2015, 06:05

                      @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.

                      J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 21 Oct 2015, 06:10 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

                      R 1 Reply Last reply 21 Oct 2015, 06:14
                      0
                      • J jsulm
                        21 Oct 2015, 06:10

                        @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.

                        R Offline
                        R Offline
                        Ratzz
                        wrote on 21 Oct 2015, 06:14 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

                        13/14

                        21 Oct 2015, 06:10

                        • Login

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