tsu tsudo
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.
Metadata
Release files for tsu 3.5.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tsu-3.5.8.tar.gz | 6.6 kB | Without provenance | Details for tsu-3.5.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tsu-3.5.8-py3-none-any.whl | Python 3 | none | any | Details for tsu-3.5.8-py3-none-any.whl |
Total release size: 15.5 kB
Release files / tsu-3.5.8.tar.gz
| Download URL | tsu-3.5.8.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c90c5cbb8995fd0a15692576e8252efa3c7bd1a9d9b4ea9049aed4d942cb44f
|
|
BLAKE2b-256 checksum How to use checksums |
f5d223fca6021c8318be4225ae43922826f78ecd160b6db07c392d7ea8113123
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / tsu-3.5.8-py3-none-any.whl
| Download URL | tsu-3.5.8-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4885fde90df25f27d95da920cfda64bff73713477ca28c4225d8d6ea235dad57
|
|
BLAKE2b-256 checksum How to use checksums |
77e01d3fd4112d9f053c2b1f7e51e2cb4a8f10ec96eeb17a35656b0e509d972a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for tsu 3.5.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.