From 7024ebe63f068485c779aa09c7f27836dbaa3d58 Mon Sep 17 00:00:00 2001 From: disu1950 Date: Wed, 7 Aug 2024 11:42:48 +0000 Subject: [PATCH] About fck sudo for non-rooted devices... --- SUDO-4-TERMUX.md | 68 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 SUDO-4-TERMUX.md diff --git a/SUDO-4-TERMUX.md b/SUDO-4-TERMUX.md new file mode 100644 index 0000000..2280861 --- /dev/null +++ b/SUDO-4-TERMUX.md @@ -0,0 +1,68 @@ +# This Wiki explains SUDO for TERMUX + +Installing **sudo** in **termux** makes ur android use root su without been rooted. + +It will install **ubuntu** where u can use **sudo**... + +After install it will create new folders: + +- ubuntu-fs +- ubuntu-binds + +Its gonna take cca 300+ mb... + +In **ubuntu-fs** folder will be: + +- bin +- etc +- lib +- mnt +- proc +- run +- srv +- tmp +- var +- boot +- home +- media +- opt +- root +- sbin +- sys +- usr + + +So evry time u need doing sumthig as **root user** u can use this... + +Ur prompt changes in: + +`root@localhost:~# ` + +thats how u know u r in sudo mode. + +**! Note:** +It doesnt root ur device just makes possible u act as root... + +Normaly when u try use sudo in termux its wont let u, +showing this kinda msg: +``` + $ sudo --list +No superuser binary detected. +Are you rooted? +``` + +But when u run as `root@localhost:~#` + +``` +root@localhost:~# sudo --list + +sudo: unable to resolve host localhost: Name or service not known Matching Defaults entries for root on localhost: + env_reset, mail_badpass, + secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin, + use_pty +User root may run the following commands on localhost: + (ALL : ALL) ALL + +root@localhost:~# +``` +sudo working... \ No newline at end of file