[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chroot and su
- To: Ilya Konstantinov <linux-il(at-nospam)future.shiny.co.il>
- Subject: Re: chroot and su
- From: guy keren <choo(at-nospam)actcom.co.il>
- Date: Fri, 21 Sep 2001 02:51:08 +0300 (EET DST)
- cc: Tzafrir Cohen <tzafrir(at-nospam)technion.ac.il>, Linux-IL mailing list <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <20010921014733.A4864@goblin.galanet.net>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Fri, 21 Sep 2001, Ilya Konstantinov wrote:
> su user -c 'chroot /jail otherprogram'
the man page for chroot(2) sais 'only root can change the root directory'.
and /usr/sbin/chroot isn'd suid (at least not on this RH 6.2 system).
how does it work then?
--
guy
"For world domination - press 1,
or dial 0, and please hold, for the creator." -- nob o. dy
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il