summaryrefslogtreecommitdiff
path: root/man1/ezjail-admin.1
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2007-09-15 00:25:52 +0000
committererdgeist <erdgeist@erdgeist.org>2007-09-15 00:25:52 +0000
commitc404a6ae6b583089d0b1d89edfb8a843a964f364 (patch)
tree3c894e1dac695e49b69af44f326eb4b12d05b4b2 /man1/ezjail-admin.1
parent208937d79311db5858ca6eb12724538aec671ccb (diff)
introduced a console subcommand that allows attaching to a jail by it jailname. Also added documentation for that and the magic rc.d/ezjail.sh-proxy introduced before
Diffstat (limited to 'man1/ezjail-admin.1')
-rwxr-xr-xman1/ezjail-admin.116
1 files changed, 14 insertions, 2 deletions
diff --git a/man1/ezjail-admin.1 b/man1/ezjail-admin.1
index 4425ac6..81d98d8 100755
--- a/man1/ezjail-admin.1
+++ b/man1/ezjail-admin.1
@@ -16,14 +16,20 @@ ezjail-admin \- Administrate ezjail
16.B ezjail-admin config\fR [-r run|norun] [-n newname] [-i attach|detach|fsck]\fI jailname 16.B ezjail-admin config\fR [-r run|norun] [-n newname] [-i attach|detach|fsck]\fI jailname
17 17
18.T 18.T
19.B ezjail-admin console\fR [-f] [-e command]\fI jailname
20
21.T
19.B ezjail-admin install\fR [-mps] [-h host] [-r release] 22.B ezjail-admin install\fR [-mps] [-h host] [-r release]
20 23
21.T 24.T
22.B ezjail-admin update\fR [-s sourcetree] [-i] [-pP] 25.B ezjail-admin update\fR [-s sourcetree] [-i] [-pP]
23.SH DESCRIPTION 26.SH DESCRIPTION
24The \fB ezjail-admin\fR tool is used to manage jails inside the ezjail 27The \fB ezjail-admin\fR tool is used to manage jails inside the ezjail
25scope. It is not used to start or stop ezjails jails. Refer to \fIezjail(5)\fR 28scope.
26for more details. 29
30It can also be used to start or stop and to get a console in ezjails
31jails by proxying everything looking like
32\fBezjail-admin start\fR, \fBstop\fR or \fBrestart\fR to the ezjail rc.d script.
27.SH ezjail-admin create 33.SH ezjail-admin create
28copies the template jail to the root of a new jail, whose name and IP 34copies the template jail to the root of a new jail, whose name and IP
29address are provided as mandatory parameters. 35address are provided as mandatory parameters.
@@ -87,6 +93,12 @@ renamed as well.
87You can attach image jails for administrative purposes by the -i attach 93You can attach image jails for administrative purposes by the -i attach
88option and detach them with -i detach. It is not possible to run or delete 94option and detach them with -i detach. It is not possible to run or delete
89an attached jail. You can force fscking a jail image with the -i fsck command. 95an attached jail. You can force fscking a jail image with the -i fsck command.
96.SH ezjail-admin console
97Attaches your console to a jail by executing a jexec with its jid.
98
99The command executed in that jail defaults to /bin/sh but can be set with the
100-e modifier or by the ezjail_default_execute config variable. A non-running
101jail is not started by default. If you want that, force it with -f.
90.SH ezjail-admin install 102.SH ezjail-admin install
91fetches everything needed to setup a base jail from an FTP server and 103fetches everything needed to setup a base jail from an FTP server and
92installs it. 104installs it.