=========================================================================== === JAIL_TOOLS README, written by Rene K. Mueller === VERSION=0.12 History: (see HISTORY file) Platform: FreeBSD 4.x and 5.x =========================================================================== == Programs: jail_install: creates a jail, including /etc/rc.conf and sample user 'jail' jail_start: starts jail jail_stop: stops jail (and all its sub-processes) jail_delete: removes jail (deletes diretory recursively) WARNING: don't use it when you have still mounted content within the jail, it will be removed as well!!! jail_update: update/upgrade existing jail to new version (e.g. 4.8->4.9) jail_ps: list processes of a particular jail or all running jails jail.sh: called at boot to start particular jails as listed in /usr/local/etc/jailtab For simplicity the jails are named after the IP they reside on, the hostname of the jails is too. In jail.conf (usually resides in /usr/local/etc/) you can config particular jails with dedicated hostnames: jailconfig_profx="ip 192.168.0.100" jailconfig_storm="ip 192.168.0.101" jailconfig_magneto="ip 192.168.0.102" etc. Possible fields in jailconfig_: ip e.g. ip 192.168.0.100 shell e.g. shell /bin/sh login