Changeset View
Changeset View
Standalone View
Standalone View
head/usr.sbin/jail/jail.8
Show All 19 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd July 30, 2018 | .Dd August 20, 2018 | ||||
.Dt JAIL 8 | .Dt JAIL 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm jail | .Nm jail | ||||
.Nd "manage system jails" | .Nd "manage system jails" | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl dhilqv | .Op Fl dhilqv | ||||
▲ Show 20 Lines • Show All 991 Lines • ▼ Show 20 Lines | |||||
.Bd -literal -offset indent | .Bd -literal -offset indent | ||||
jail -c path=/data/jail/testjail mount.devfs \\ | jail -c path=/data/jail/testjail mount.devfs \\ | ||||
host.hostname=testhostname ip4.addr=192.0.2.100 \\ | host.hostname=testhostname ip4.addr=192.0.2.100 \\ | ||||
command=/bin/sh | command=/bin/sh | ||||
.Ed | .Ed | ||||
.Pp | .Pp | ||||
Assuming no errors, you will end up with a shell prompt within the jail. | Assuming no errors, you will end up with a shell prompt within the jail. | ||||
You can now run | You can now run | ||||
.Pa /usr/sbin/bsdinstall | .Xr bsdconfig 8 | ||||
and do the post-install configuration to set various configuration options, | and do the post-install configuration to set various configuration options, | ||||
or perform these actions manually by editing | or perform these actions manually by editing | ||||
.Pa /etc/rc.conf , | .Pa /etc/rc.conf , | ||||
etc. | etc. | ||||
.Pp | .Pp | ||||
.Bl -bullet -offset indent -compact | .Bl -bullet -offset indent -compact | ||||
.It | .It | ||||
Configure | Configure | ||||
▲ Show 20 Lines • Show All 262 Lines • ▼ Show 20 Lines | |||||
.Xr devfs 5 , | .Xr devfs 5 , | ||||
.Xr fdescfs 5 , | .Xr fdescfs 5 , | ||||
.Xr jail.conf 5 , | .Xr jail.conf 5 , | ||||
.Xr linprocfs 5 , | .Xr linprocfs 5 , | ||||
.Xr linsysfs 5 , | .Xr linsysfs 5 , | ||||
.Xr procfs 5 , | .Xr procfs 5 , | ||||
.Xr rc.conf 5 , | .Xr rc.conf 5 , | ||||
.Xr sysctl.conf 5 , | .Xr sysctl.conf 5 , | ||||
.Xr bsdconfig 8 , | |||||
.Xr chroot 8 , | .Xr chroot 8 , | ||||
.Xr devfs 8 , | .Xr devfs 8 , | ||||
.Xr halt 8 , | .Xr halt 8 , | ||||
.Xr ifconfig 8 , | .Xr ifconfig 8 , | ||||
.Xr inetd 8 , | .Xr inetd 8 , | ||||
.Xr jexec 8 , | .Xr jexec 8 , | ||||
.Xr jls 8 , | .Xr jls 8 , | ||||
.Xr mount 8 , | .Xr mount 8 , | ||||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |