Need help with tsu?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

cswl
289 Stars 121 Forks Other 23 Commits 18 Opened issues

Description

Gain root shell on Termux.

Services available

!
?

Need anything else?

Contributors list

# 187,586
Shell
Python
linux-d...
Android
21 commits
# 106,471
Markdow...
gps-tra...
ip-came...
cloudfl...
1 commit
# 482,619
Shell
Python
1 commit

tsu

Gain a root shell on Termux while being able to run Termux commands as root.

Or run one off commands with well known

sudo
from normal linux distros.
tsu A su interface wrapper for Termux

Usage:
    tsu
    tsu [ -s SHELL ]  [-p|-a] [USER]
    tsu --dbg [ -s SHELL ] [-p|-a] [-E] [USER]
    tsu -h | --help | --version

Options:
--dbg        Enable debug output
-s <shell>   Use an alternate specified shell.
-p           Prepend system binaries to PATH
-a           Append system binaries to PATH
-h --help    Show this screen.

This package also provides a minimal sudo which is enough to run most programs as root

    sudo command

https://github.com/cswl/tsu 

Building

A simple python script is used to make the final shell script as to avoid duplication in documentation.

Run it by using:

python3 extract_usage.py

License

Licensed under the ISC license. See LICENSE.

Portions of the

extract_usage.py
is extraced from excode which is under the MIT LICENSE

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.