From: Daniel Pielmeier <daniel.pielmeier@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] start-stop-daemon sets USER=root - expected behaviour?
Date: Mon, 06 Oct 2008 21:09:03 +0200 [thread overview]
Message-ID: <48EA624F.6090002@googlemail.com> (raw)
In-Reply-To: <20081006182111.GA19486@eriks>
Erik Hahn schrieb am 06.10.2008 20:21:
> On Mon, Oct 06, 2008 at 02:27:11PM +0200, Daniel Pielmeier wrote:
>> 2008/10/6 Erik Hahn <erik_hahn@gmx.de>:
>>> No, it simply shouldn't change them, there's no reason to do that (to my
>>> knowledge).
>> I think it is a big security issue if a normal user could start
>> arbitrary daemons with root privileges. So you should file a bug at
>
> It doesn't give anyone root privileges, it only sets wrong variables.
>
>> I think only root should be able to execute start-stop-daemon and the
>> user should be changed with the proper command line switches. I
>> actually don't know if it is --chuid or --user as this has changed
>> between old baselayout and new openrc.
>
> Why's that? Running a program with user privileges is no security
> problem at all.
I got the intention the program is started with root privileges when
using start-stop-daemon.
Nevertheless I can reproduce your problem with the wrong variables. I
think it should set the variables appropriate for the user running
start-stop-daemon. So you should file a bug report about that.
Regards,
Daniel
prev parent reply other threads:[~2008-10-06 19:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-05 12:01 [gentoo-user] start-stop-daemon sets USER=root - expected behaviour? Erik Hahn
2008-10-05 18:54 ` Jil Larner
2008-10-05 21:01 ` Erik Hahn
2008-10-06 6:41 ` Jil Larner
2008-10-06 11:43 ` Erik Hahn
2008-10-06 12:27 ` Daniel Pielmeier
2008-10-06 18:21 ` Erik Hahn
2008-10-06 19:09 ` Daniel Pielmeier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48EA624F.6090002@googlemail.com \
--to=daniel.pielmeier@googlemail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox