← All projects

Termux-sudo

by @sabri-zaki

22

About this project

termux-sudo A bash script that provides sudo for Termux Termux is a terminal emulator and Linux environment for Android Note termux-sudo was originally hosted on GitHub. Due to the fact that Termux sudo was deleted from Github i decide to upload it for the public use Requirements Rooted phone with su binary SUDO WILL NOT WORK WITHOUT SU Installing sudo Clone termux-sudo or download to phone and extract Open Termux Install a dependency needed for sudo: Change to cloned or extraction directory Execute the following commands to place sudo into the correct directory with the proper permissions and ownership Features Sets up its environment automatically on first run, no need to do anything but use it Creates a root folder in the Termux home folder with proper root permissions and ownership Creates file in root folder with proper PATH and LDLIBRARYPATH variables set so all binaries function correctly Bash prompt PS1 variable is also set so you don't have as prompt just Automatically creates in root folder when you drop to a root shell so root shell history is preserved Can be used like ordinary sudo (but only as root, no other user) Can drop to root shell

From the project README on GitHub

Stars
22
Forks
5
Last push
25 Nov 2018

Add this badge to your README

Show that your project is listed on Made in Algeria.

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/termux-sudo.svg)](https://www.madeinalgeria.dev/projects/termux-sudo)

Related projects