Re: [tor-relays] confusing error from "tor --verify-config"

Hi,
I would suggest running tor --verify-config as debian-tor user instead of root After I run the following command I`ve got no output. Is this correct then? I expected a few lines somehow.
su -c "/etc/init.d/tor --verify-config" debian-tor
I would suggest not running tor as root .:) As root you can do: su debian-tor "tor --verify-config"
I am not running tor as root. Tor runs as "debian-tor". I installed it from the repositories and changed nothing in the permissions. Cheers, Patrice

If you try : sudo -u debian-tor tor --verify-config Le 21/12/2016 à 01:59, Patrice a écrit :
Hi,
I would suggest running tor --verify-config as debian-tor user instead of root After I run the following command I`ve got no output. Is this correct then? I expected a few lines somehow.
su -c "/etc/init.d/tor --verify-config" debian-tor
I would suggest not running tor as root . :) As root you can do: su debian-tor "tor --verify-config"
I am not running tor as root. Tor runs as "debian-tor". I installed it from the repositories and changed nothing in the permissions.
Cheers, Patrice
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
-- Petrusko EBE23AE5

Patrice:
After I run the following command I`ve got no output. Is this correct then? I expected a few lines somehow.
su -c "/etc/init.d/tor --verify-config" debian-tor
My bad, shell for debian-tor is set to /bin/false and so it prevents any command from running. Setting shell should "fix" this: su debian-tor -s /bin/sh -c "tor --verify-config" -- Ivan Markin
participants (3)
-
Ivan Markin
-
Patrice
-
Petrusko