<div dir="ltr">Dear all,<div><br></div><div>Previously, I've run arm using '<span style="color:rgb(0,0,0)">sudo -u debian-tor arm'. As was mentioned here previously, this is not how you should run it - in fact there is a bit of documentation to suggest how it should be done. Unfortunately I</span>'m having some issues getting arm working correctly as described here in step 14:</div><div><br></div><div><a href="https://www.torproject.org/docs/tor-relay-debian.html.en#after">https://www.torproject.org/docs/tor-relay-debian.html.en#after</a><br clear="all"><div><br></div><div>Having added my user (pi) to the debian-tor group, I try to run 'arm' and get the following:</div><div><br></div><div>Failed to read authentication cookie (permission denied): /var/run/tor/control.authcookie<br></div><div><br></div><div>I've tried reinstalling arm, relogged and checked that I'm in the right group still using 'groups' (which I am) - no joy.</div><div><br></div><div>I've checked my torrc and found the following lines:</div><div><br></div><div><div>## If you enable the controlport, be sure to enable one of these</div><div>## authentication methods, to prevent attackers from accessing it.</div><div>#HashedControlPassword 16:872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C</div><div>#CookieAuthentication 1</div></div><div><br></div><div>CookieAuthentication wasn't initially enabled, turning it on makes no difference, I get the same error. </div><div><br></div><div>I am able to get it working when setting up HashedControlPassword by generating a has using tor --hash-password <password> and editing torrc accordingly.</div><div><br></div><div>Am I missing something when it comes to setting up CookieAuthentication? I guess I must be...although it seems strange that I was getting that error even with CookieAuthentication disabled.</div><div><br></div><div>Any insight appreciated :)</div><div><br></div><div>Chris</div><div><br></div>-- <br><b>Dr Chris Whittleston 栗主</b><br>Department of Chemistry<br>University of Cambridge<br>Lensfield Road, Cambridge, CB2 1EW<br>Email: <a href="mailto:csw34@cam.ac.uk" target="_blank">csw34@cam.ac.uk</a><br>Tel: +44 (0)1223 336423
</div></div>