j4k3,
@j4k3@lemmy.world avatar

I don’t know of a way to add a SU or SUDO binary. It is really dumb to do so if you have a basic understanding of the hardware and how the whole system works. Your hardware is untrusted from the get go. It is sandboxed but the presence of the root binary breaks that sandbox entirely. They have access to all the binaries in essence, but it is the lack of binaries capable of making changes to take control that protects you along with the SELinux context for each directory and application. All apps have an enormous amount of freedom inside their sandboxes. They are more like Linux users themselves than they are some software application. With every application you’re basically trusting the developer to exist along side you on your device. This is the mechanism that enables users to have no background knowledge or interest in security and still have a functional device. The developer is given all the needed access in a sandbox where they have enormous access to the device; they are doing all the work for you. If the root binary, wget, or curl are present on the device, every app is a root kit to do whatever they want. In addition, the code on android apps is fail safe because of the lack of these binaries. They have super buggy junk code as standard. This only works because of no root.

All that said, I think you’d have to compile from source to add such a binary manually, but I could’ve wrong. IIRC, the root directory is accessible when USB is plugged in and the options enabled.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • InstantRegret
  • DreamBathrooms
  • ngwrru68w68
  • osvaldo12
  • cubers
  • magazineikmin
  • ethstaker
  • Youngstown
  • rosin
  • slotface
  • everett
  • kavyap
  • Durango
  • khanakhh
  • megavids
  • thenastyranch
  • anitta
  • modclub
  • GTA5RPClips
  • mdbf
  • cisconetworking
  • tester
  • tacticalgear
  • provamag3
  • Leos
  • normalnudes
  • JUstTest
  • lostlight
  • All magazines