[ubuntu-it] chroot da live

pacmo pacmoit a gmail.com
Ven 24 Apr 2015 09:04:47 UTC


Il 23/04/2015 19:59, Mario ha scritto:
>
However, entering the previous two lines will only get you an error like:

chroot: failed to run command '/bin/bash':No such file or directory

This happens because the Bash shell is like any other program and, when
the system tries to access a shell from within the jail, it doesn't find
one and bombs. Thus, your next step is to set up a shell program within
your jail.

To do so, the first thing to do is create a bin directory (which is
where a Linux system's essential executable programs usually live) in
your test directory and copy bash from the host's /bin :
>

Detto questo ho provato a seguire quanto indicato in questa pagina :
https://www.ubuntu-user.com/Magazine/Archive/2013/17/Creating-secure-environments-with-chroot

Ma continua con il medesimo errore




Maggiori informazioni sulla lista ubuntu-it