ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Securing Systems with chroot
Subject:   Typical Problem
Date:   2003-02-04 03:42:53
From:   anonymous2
Hi,
after reading this article I tried to chroot in a directory named /test. /test/bin/sh existed but chroot said "/bin/sh: No such file or directory".
The article says, that you have to cp some libraries to /test/lib/ but how you can find out which libs to cp it doesn't tell.


The solution to this problem, into which you may also run, is to do a "ldd /test/bin/sh" and cp the resulting libraries to /test/lib/.


1 to 2 of 2
1 to 2 of 2