UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    sudo - libertine

    Scheduled Pinned Locked Moved General
    5 Posts 2 Posters 642 Views 1 Watching
    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.
      • P Offline
        pixelated
        last edited by pixelated

        is there a way to add sudo, to run specific programs in a libertine container?

        forgot to add sudo ofc complains about UID 0 ownership in term emulator inside libertine

        1 Reply Last reply Reply Quote 0
        • dobeyD Offline
          dobey
          last edited by

          No. There is no sudo in libertine and it will not work. Installing it may break the container. Libertine containers are unprivileged.

          Why do you need sudo?

          If you do need to run something as "root" you can use libertine-container-manager exec -c bash in Terminal app to get a "root" shell. Otherwise, you should normally use the shell as phablet user with libertine-launch bash for example.

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            pixelated @dobey
            last edited by

            @dobey Thanks that is useful toknow

            Am trying uninstall programs installed into the container, unfortunately that didn't help lol

            1 Reply Last reply Reply Quote 0
            • P Offline
              pixelated
              last edited by

              (I was not looking to give libertine container root access to the phone OS, just wanted su/sudo inisde the container)

              dobeyD 1 Reply Last reply Reply Quote 0
              • dobeyD Offline
                dobey @pixelated
                last edited by

                @pixelated Yes. There is no sudo or su available in the container, because it is unprivileged and will not work.

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