From: mru@kth.se (Måns Rullgård)
To: linux-kernel@vger.kernel.org
Subject: Re: How to emulate 'chroot /jail/ su httpd -c' ?
Date: Thu, 26 Feb 2004 14:34:45 +0100 [thread overview]
Message-ID: <yw1xllmqhslm.fsf@kth.se> (raw)
In-Reply-To: <200402261956.BEF40183.2B918856@anet.ne.jp>
Tetsuo Handa <a5497108@anet.ne.jp> writes:
> Hello,
>
> Sorry for querying userland program in this list.
>
> I have the following line in /etc/rc.d/init.d/httpd
>
> daemon chroot /jail/ su httpd -c $httpd $OPTIONS
>
> This needs /bin/su after /usr/sbin/chroot, but I don't
> want to place /bin/su (and related files) in the jail.
> So, I want to do this with one program.
If you remove the suid bit from the su program in the chroot it should
be rather harmless.
--
Måns Rullgård
mru@kth.se
next prev parent reply other threads:[~2004-02-26 13:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-26 10:56 Tetsuo Handa
[not found] ` <403DEB2B.2030705@aitel.hist.no>
2004-02-26 13:07 ` Tetsuo Handa
[not found] ` <20040226045855.A2529@pr.es.to>
2004-02-26 13:23 ` Tetsuo Handa
2004-02-26 13:34 ` Måns Rullgård [this message]
2004-02-26 14:24 Tetsuo Handa
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=yw1xllmqhslm.fsf@kth.se \
--to=mru@kth.se \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®