Opened 12 years ago

Last modified 7 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: 0.1.2.19
Severity: Keywords:
Cc: mrfree, edmanm, nickm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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 12 years ago by Sebastian

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

comment:2 Changed 12 years ago by nickm

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

comment:3 Changed 12 years ago by nickm

flyspray2trac: bug closed.

comment:4 Changed 7 years ago by nickm

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