If you have root access you do not need sudo. See sudo - Wikipedia
It depends on the configuration of the sudoers
file, but most of the time sudo
access will suffice for the term "root". Often you can just do sudo su -
and voila, you're root.
I'm not familiar enought with Termux to say if running sudo
from within Termux is equal to being root in the Android environment "outside" Termux.
You probably can. If root can bind port 80 on android, that I am not sure and I think depends on the single phone.
I tried. nginx on termux runs on port 8080 by default and to get port 80 you'd have to run the daemon as root, and that's not a good idea. Use @Osiris 's idea to port-translate using ipv4.
To use an old phone instead of a Raspberry Pi to host your pet projects?
Personally, I would very much prefer a RPi above an older phone. Unless you can perhaps flash the entire phone with a non-Android operating system
I agree. RPis have gotten expensive, tho. Other SBCs as well.
I haven't seen may OS available on cellphones.
Like FreeBSD, OpenBSD, Modula-2 - Wikipedia, VAX - Wikipedia, Burroughs Large Systems - Wikipedia, Burroughs Medium Systems - Wikipedia, CDC Cyber - Wikipedia, HP Time-Shared BASIC - Wikipedia, Minix - Wikipedia, https://minix3.org/, Xinu - Wikipedia, https://xinu.cs.purdue.edu/
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.