mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tetsuo Handa <a5497108@anet.ne.jp>
To: helgehaf@aitel.hist.no
Cc: linux-kernel@vger.kernel.org
Subject: Re: How to emulate 'chroot /jail/ su httpd -c' ?
Date: Thu, 26 Feb 2004 22:07:15 +0900	[thread overview]
Message-ID: <200402262207.BAE57397.896285B1@anet.ne.jp> (raw)
In-Reply-To: <403DEB2B.2030705@aitel.hist.no>


Helge Hafting wrote:
> Tetsuo Handa wrote:
> > 
> > daemon chroot /jail/ su httpd -c $httpd $OPTIONS
> 
> Why don't you simply do the su first, and the chroot later?
> 
> Helge Hafting
> 

Thank you, Hafting.
But only root can chroot, so after su to httpd, can't chroot.

  parent reply	other threads:[~2004-02-26 13:07 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 [this message]
     [not found] ` <20040226045855.A2529@pr.es.to>
2004-02-26 13:23   ` Tetsuo Handa
2004-02-26 13:34 ` Måns Rullgård
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=200402262207.BAE57397.896285B1@anet.ne.jp \
    --to=a5497108@anet.ne.jp \
    --cc=helgehaf@aitel.hist.no \
    --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®