Get root permission with sudo in termux

A guideline to getting root access on your Android device with termux
The ability that the user has to customize and modify different configurations is one of the cool things about the Android OS. In this article, here I am going to be over how to install sudo in the Termux  terminal app for the Android terminal emulator By doing so, you have root privileges as you would on any other distro for linux..


About sudo :

Sudo (su "do") allows a system administrator to grant such users (or user groups) the ability to execute some (or all) functions as root while logging all commands and arguments. Sudo operates per order, it's not a shell replacement and many more.

This article is only for educational purposes. For any mistake we are not to be blamed.

Here is how to install sudo in termux:


Follow step by step guide to use root permission sudo in termux android.

Install Termux

1. Go to your Play Store or F-Droid (recommended) or search and install termux
2. Allow super user permission "grant root"(To obtain sudo your device must be rooted Root Your Device Root Required).

3.Now use this code one by one in Termux app:

apt update && apt upgrade 
pkg install git
git clone https://gitlab.com/st42/termux-sudo.git
cd termux-sudo && pkg install ncurses-utils
cat sudo > /data/data/com.termux/files/usr/bin/sudo
chmod 700 /data/data/com.termux/files/usr/bin/sudo
After last step you will be able to use sudo command with your termux.

If you stuck in any step don't forget to ASK in the comment section.fore more awesome post like this keep visiting us

Post a Comment

2 Comments