Opened 13 years ago

Last modified 8 years ago

#643 closed defect (Fixed)

tor shouldn't load the config file with --hash-password

Reported by: mrfree Owned by:
Priority: Low Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: mrfree, edmanm, nickm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


I noticed that tor uses the config file /etc/tor/torrc when I use --hash-password too: if I run
"tor --hash-password ..." from a unprivileged user I expect to simply receive the hashed password
but actually tor reads the system wide config file and fails because of user/group settings.

A simple workaround is to create a 'empty' config file and pass it to tor using the '-f' option.

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (4)

comment:1 Changed 13 years ago by Sebastian

I think I have fixed the issue, I sent a patch to tor-volunteer.

comment:2 Changed 13 years ago by nickm

Should be fixed on trunk and on 0.2.0.x branch. Thanks!

comment:3 Changed 13 years ago by nickm

flyspray2trac: bug closed.

comment:4 Changed 8 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.