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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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