diff options
author | erdgeist <erdgeist@erdgeist.org> | 2007-09-15 00:25:52 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2007-09-15 00:25:52 +0000 |
commit | c404a6ae6b583089d0b1d89edfb8a843a964f364 (patch) | |
tree | 3c894e1dac695e49b69af44f326eb4b12d05b4b2 /man1/ezjail-admin.1 | |
parent | 208937d79311db5858ca6eb12724538aec671ccb (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-x | man1/ezjail-admin.1 | 16 |
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 |
24 | The \fB ezjail-admin\fR tool is used to manage jails inside the ezjail | 27 | The \fB ezjail-admin\fR tool is used to manage jails inside the ezjail |
25 | scope. It is not used to start or stop ezjails jails. Refer to \fIezjail(5)\fR | 28 | scope. |
26 | for more details. | 29 | |
30 | It can also be used to start or stop and to get a console in ezjails | ||
31 | jails 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 |
28 | copies the template jail to the root of a new jail, whose name and IP | 34 | copies the template jail to the root of a new jail, whose name and IP |
29 | address are provided as mandatory parameters. | 35 | address are provided as mandatory parameters. |
@@ -87,6 +93,12 @@ renamed as well. | |||
87 | You can attach image jails for administrative purposes by the -i attach | 93 | You can attach image jails for administrative purposes by the -i attach |
88 | option and detach them with -i detach. It is not possible to run or delete | 94 | option and detach them with -i detach. It is not possible to run or delete |
89 | an attached jail. You can force fscking a jail image with the -i fsck command. | 95 | an attached jail. You can force fscking a jail image with the -i fsck command. |
96 | .SH ezjail-admin console | ||
97 | Attaches your console to a jail by executing a jexec with its jid. | ||
98 | |||
99 | The 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 | ||
101 | jail is not started by default. If you want that, force it with -f. | ||
90 | .SH ezjail-admin install | 102 | .SH ezjail-admin install |
91 | fetches everything needed to setup a base jail from an FTP server and | 103 | fetches everything needed to setup a base jail from an FTP server and |
92 | installs it. | 104 | installs it. |