About fck sudo for non-rooted devices...
commit
7024ebe63f
68
SUDO-4-TERMUX.md
Normal file
68
SUDO-4-TERMUX.md
Normal file
@ -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...
|
Loading…
Reference in New Issue
Block a user