On 19.03.2020 02:28, Kathi wrote:
NOTE: I know tor.Nyx should not be run as root, I get that. Tor/Nyx are running as root. I don’t know how to use debian-tor as usr.
~$ sudo -u debian-tor nyx -i 9051
.bashrc aliases for lazy admin ;-)
# My aliases for nyx (tor & tor-instances) alias nyx='sudo -u debian-tor nyx -i 9051' #alias nyx00='sudo -u _tor-00 nyx -i 9051' #alias nyx01='sudo -u _tor-01 nyx -i 9052' #alias nyx02='sudo -u _tor-02 nyx -i 9053'
If you have not yet installed or set up sudo: ~$ su - ~# apt install sudo ~# usermod -aG sudo user