[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: chroot and su




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