[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] Relay Or/Dirport Unreachable



On Fri, Mar 20, 2020 at 02:55:24PM -0700, Damian Johnson wrote:
activities from the command line. First, "sudo apt install nyx".
Second, as the user that will be running nyx, run "sudo adduser $USER
debian-tor" to add your user to the debian-tor group so it can reach
Tor's controlsocket. Then log out and log back in (so your user is
actually in the group), and run "nyx".
"""

Thanks Roger. Dumbish question but if we replace 'Then log out and log
back in' with 'run "reset" in your console' will that do the trick?

No, reset(1) just affects terminal (tty) settings, it does not affect the active group list for the current login session. There isn't a better solution than logging out and logging back in.

Worse solutions that nobody should recommend as a replacement:

- newgrp doesn't run the shell setup reliably in all cases.
- sudo to yourself to run nyx only works with certain sudoers configs
- sudo to root to run nyx results in running nyx as root, which you
  shouldn't.
- ssh $USER@localhost leaves the terminal session in a confusing state
  that most non-expert users won't be prepared to understand properly

-andy
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays