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 975 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

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post