select * from sectionselect * from sectionselect * from section JMC Research - Juan M. Casillas Web Site
Knowledge for our questions, fun for everyone!

http://www.jmcresearch.com/src/articlehelper.php?id=7
Printed at 20/03/2019 22:58:10
http://www.jmcresearch.com Knowledge for our questions, fun for everyone!
Creating the Jail environment
Or how to invoke mkjailenv

Published at 26/08/2003 17:10:48
By Juan M. Casillas

mkjailenv creates the directories, and generates the basic filesystem layout with the special devices. mkjailenv has been written in perl. This are the command line arguments:

mkjailenv chrootdir
Argument Description
chrootdir The directory where the chrooted environment will live. It its the home entry in the non-chrooted /etc/passwd file

Invocation example:

mkjailenv /home/chroot
This will create the chrooted enviroment under the directory /home/chroot.


http://www.jmcresearch.com Knowledge for our questions, fun for everyone!