Gentoo Archives: gentoo-user

From: Erik Hahn <erik_hahn@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] start-stop-daemon sets USER=root - expected behaviour?
Date: Mon, 06 Oct 2008 11:43:34
Message-Id: 20081006114328.GA5533@eriks
In Reply to: Re: [gentoo-user] start-stop-daemon sets USER=root - expected behaviour? by Jil Larner
1 On Mon, Oct 06, 2008 at 08:41:58AM +0200, Jil Larner wrote:
2 > Hi,
3 >
4 > Erik Hahn a écrit :
5 > > It doesn't run the command as root but as normal user (it isn't setuid
6 > > either. All it does is setting the *variables* $USER and $HOME to the
7 > > wrong values.
8 > >
9 > Oh, I read too quickly :x And by the way didn't give the right command
10 > switch that are --chuid --user and --env. These should give you the
11 > result you wish. Should the program automatically set correct home and
12 > user ? I'd say this could be great, so you may report it as a bug or,
13 > more pobably, as a feature request.
14
15 No, it simply shouldn't change them, there's no reason to do that (to my
16 knowledge).
17
18 > > This implementation is not by Debian:
19 > >
20 > >> This is a complete re-implementation with the process finding code in
21 > >> the OpenRC library (librc, -lrc) so other programs can make use of it.
22 >
23 > I didn't know. Where did you find this ?
24
25 Man page.
26
27 -Erik
28
29 --
30 hackerkey://v4sw5hw2ln3pr5ck0ma2u7LwXm4l7Gi2e2t4b7Ken4/7a16s0r1p-5.62/-6.56g5OR

Replies

Subject Author
Re: [gentoo-user] start-stop-daemon sets USER=root - expected behaviour? Daniel Pielmeier <daniel.pielmeier@××××××××××.com>