Skip to main content

A su wrapper for Termux

Project description

tsu tsudo

Build Status

A su and sudo wrapper for Termux.

tsu (like tsu as in tsunami, you know ) is an su wrapper for the terminal emulator and packages for Android, Termux.

tsu will focus only on dropping into root shell from termux.
In order to run one off commands as root use tsudo command which acts like sudo .

Installation

tsu is now available as a termux package. Install it like any other package with.

pkg install tsu

Background

Termux relies on LD_LIBRARY_PATH enviroment variables to find it's libraries. For security reasons some environent variables seem to be reset by su, unless an --preserve-environent flag is passed.
tsu handles this for you and also launches your preferred shell.
su by default will use sh or mksh, depending upon how it is on your device.

Contributing

Know something you wanna add/improve, you're more than welcome to open a issue or create a pull request.
The README was written in a hurry, so some help here too.

License

Licensed under the ISC license. See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tsu-3.5.8.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

tsu-3.5.8-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file tsu-3.5.8.tar.gz.

File metadata

  • Download URL: tsu-3.5.8.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5

File hashes

Hashes for tsu-3.5.8.tar.gz
Algorithm Hash digest
SHA256 9c90c5cbb8995fd0a15692576e8252efa3c7bd1a9d9b4ea9049aed4d942cb44f
MD5 22e50ed44e43111a72bb269bd95f2fe1
BLAKE2b-256 f5d223fca6021c8318be4225ae43922826f78ecd160b6db07c392d7ea8113123

See more details on using hashes here.

File details

Details for the file tsu-3.5.8-py3-none-any.whl.

File metadata

  • Download URL: tsu-3.5.8-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5

File hashes

Hashes for tsu-3.5.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4885fde90df25f27d95da920cfda64bff73713477ca28c4225d8d6ea235dad57
MD5 8058d56568187ef37ffc3a6c70654658
BLAKE2b-256 77e01d3fd4112d9f053c2b1f7e51e2cb4a8f10ec96eeb17a35656b0e509d972a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page