lkml.org 
[lkml]   [1998]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Chroot breach in 2.1.100+
On Sun, Sep 20, 1998 at 06:32:01PM -0400, Alexander Viro wrote:

> In some cases chroot jail can be broken by process with UID==0.

chroot jails are pointless with UID==0.

root can always do something like:

mkdir tmp # make a temp dir in the jail
chroot tmp # move root to that
cd ../../../../../ # step back...

to escape anyhow.


root can do so many other things anyhow, a chroot jail for root is
pointless.




-cw




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.060 / U:1.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site