• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 646 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 5 Nov 2020, 14:09 11 May 2020, 14:06

      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
      • D Offline
        dobey
        last edited by 11 May 2020, 14:34

        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 11 May 2020, 17:23 Reply Quote 0
        • P Offline
          pixelated @dobey
          last edited by 11 May 2020, 17:23

          @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 11 May 2020, 17:34

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

            D 1 Reply Last reply 11 May 2020, 18:26 Reply Quote 0
            • D Offline
              dobey @pixelated
              last edited by 11 May 2020, 18:26

              @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
              3 out of 5
              • First post
                3/5
                Last post