Women in Technology

Hear us Roar



Article:
  Securing Systems with chroot
Subject:   Re: Typical Problem
Date:   2003-02-10 07:04:48
From:   anonymous2
Response to: Typical Problem

The command must be relative to the new root, ex:
mkdir /tmp/test /tmp/test/bin
cp /bin/sh /tmp/test/bin/
chroot /tmp/test bin/sh
or
chroot /tmp/test /bin/sh
not
chroot /tmp/test /tmp/test/bin/sh


assumed that sh is statically linked( it's in the root partition)