Re: Undoing chroot?

From: Chris Wedgwood (cw@f00f.org)
Date: Fri Jan 26 2001 - 21:47:15 EST


On Fri, Jan 26, 2001 at 10:31:40AM -0800, Paul Powell wrote:

    So how do you reverse a CHROOT?

move the prison walls inside of your cell then walk away:

as root:

  mkdir("blah");
  chroot("blah");
  chdir("../../../../../../");

sort of thing

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



This archive was generated by hypermail 2b29 : Wed Jan 31 2001 - 21:00:26 EST