[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] Re: [Tor Bug Tracker] #1274: Tor is not running as user tor
#1274: Tor is not running as user tor
-------------------------------------------+--------------------------------
Reporter: Anmibe | Owner: phobos
Type: defect | Status: accepted
Priority: minor | Milestone: Tor: 0.2.2.x-final
Component: Tor-Tor bundles/installation | Version: 0.2.2.7-alpha
Resolution: None | Keywords:
-------------------------------------------+--------------------------------
Changes (by phobos):
* owner: => phobos
* status: new => accepted
* milestone: => Tor: 0.2.2.x-final
Old description:
> After installing a tor relay with newest expert package
> Tor-0.2.2.9-alpha-i386-Bundle I wondered why tor is running as $USER, but
> not as tor.
> I new user _tor is created and the group daemon exists as well.
> A quick look at the script addsysuser gives a hint:
> At least the lines 58 & 69 â
>
> gid=`niutil -readprop $ROOTPROP /groups/daemon gid`
> uiddef=`nidump passwd / | cut -d: -f3 | sort -n | grep -v '!^[56789]..'
> |grep -v '!^....$' | tail -n 1`
>
> âcanât work properly (besides others) with Snowleopard since nituil and
> nidump doesn't exist anymore. As far as I know there are substituted by
> dscl.
>
> [Automatically added by flyspray2trac: Operating System: OSX 10.6 Snow
> Leopard]
New description:
After installing a tor relay with newest expert package
Tor-0.2.2.9-alpha-i386-Bundle I wondered why tor is running as $USER, but
not as tor.
I new user _tor is created and the group daemon exists as well.
A quick look at the script addsysuser gives a hint:
At least the lines 58 & 69 â
gid=`niutil -readprop $ROOTPROP /groups/daemon gid`
uiddef=`nidump passwd / | cut -d: -f3 | sort -n | grep -v '!^[56789]..'
|grep -v '!^....$' | tail -n 1`
âcanât work properly (besides others) with Snowleopard since nituil and
nidump doesn't exist anymore. As far as I know there are substituted by
dscl.
[Automatically added by flyspray2trac: Operating System: OSX 10.6 Snow
Leopard]
--
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1274#comment:4>
Tor Bug Tracker <https://trac.torproject.org/>
The Tor Project: anonymity online