Skip to content
/ tsu Public

Gain root shell on Termux.

License

ISC, MIT licenses found

Licenses found

ISC
LICENSE.md
MIT
LICENSE_MIT
Notifications You must be signed in to change notification settings

cswl/tsu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Gain root shell on Termux.

Resources

License

ISC, MIT licenses found

Licenses found

ISC
LICENSE.md
MIT
LICENSE_MIT

Stars

Watchers

Forks

Packages

No packages published