summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMakefile4
-rw-r--r--man7/ezjail.710
-rw-r--r--man8/ezjail-admin.84
3 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index a2a526b..fbf0232 100755
--- a/Makefile
+++ b/Makefile
@@ -11,11 +11,11 @@ install:
11 cp -p ezjail.conf.sample ${PREFIX}/etc/ 11 cp -p ezjail.conf.sample ${PREFIX}/etc/
12 cp -R -p examples/example ${PREFIX}/share/examples/ezjail/ 12 cp -R -p examples/example ${PREFIX}/share/examples/ezjail/
13 cp -R -p examples/nullmailer-example ${PREFIX}/share/examples/ezjail/ 13 cp -R -p examples/nullmailer-example ${PREFIX}/share/examples/ezjail/
14 sed s:EZJAIL_PREFIX:${PREFIX}: ezjail.sh > ${PREFIX}/etc/rc.d/ezjail.sh 14 sed s:EZJAIL_PREFIX:${PREFIX}: ezjail.sh > ${PREFIX}/etc/rc.d/ezjail
15 sed s:EZJAIL_PREFIX:${PREFIX}: ezjail-admin > ${PREFIX}/bin/ezjail-admin 15 sed s:EZJAIL_PREFIX:${PREFIX}: ezjail-admin > ${PREFIX}/bin/ezjail-admin
16 sed s:EZJAIL_PREFIX:${PREFIX}: man8/ezjail-admin.8 > ${PREFIX}/man/man8/ezjail-admin.8 16 sed s:EZJAIL_PREFIX:${PREFIX}: man8/ezjail-admin.8 > ${PREFIX}/man/man8/ezjail-admin.8
17 sed s:EZJAIL_PREFIX:${PREFIX}: man5/ezjail.conf.5 > ${PREFIX}/man/man5/ezjail.conf.5 17 sed s:EZJAIL_PREFIX:${PREFIX}: man5/ezjail.conf.5 > ${PREFIX}/man/man5/ezjail.conf.5
18 sed s:EZJAIL_PREFIX:${PREFIX}: man7/ezjail.7 > ${PREFIX}/man/man7/ezjail.7 18 sed s:EZJAIL_PREFIX:${PREFIX}: man7/ezjail.7 > ${PREFIX}/man/man7/ezjail.7
19 chmod 755 ${PREFIX}/etc/rc.d/ezjail.sh ${PREFIX}/bin/ezjail-admin 19 chmod 755 ${PREFIX}/etc/rc.d/ezjail ${PREFIX}/bin/ezjail-admin
20 chown -R root:wheel ${PREFIX}/man/man8/ezjail-admin.8 ${PREFIX}/man/man5/ezjail.conf.5 ${PREFIX}/man/man7/ezjail.7 ${PREFIX}/share/examples/ezjail/ 20 chown -R root:wheel ${PREFIX}/man/man8/ezjail-admin.8 ${PREFIX}/man/man5/ezjail.conf.5 ${PREFIX}/man/man7/ezjail.7 ${PREFIX}/share/examples/ezjail/
21 chmod 0440 ${PREFIX}/share/examples/ezjail/example/usr/local/etc/sudoers 21 chmod 0440 ${PREFIX}/share/examples/ezjail/example/usr/local/etc/sudoers
diff --git a/man7/ezjail.7 b/man7/ezjail.7
index 334a5db..aa744ca 100644
--- a/man7/ezjail.7
+++ b/man7/ezjail.7
@@ -57,7 +57,7 @@ are provided. A sample configuration is installed as
57.Pa EZJAIL_PREFIX/etc/ezjail.conf.sample . 57.Pa EZJAIL_PREFIX/etc/ezjail.conf.sample .
58.Pp 58.Pp
59A script is also installed as 59A script is also installed as
60.Pa ezjail.sh 60.Pa ezjail
61in the rc.d system to allow jails under ezjails control to be started at boot 61in the rc.d system to allow jails under ezjails control to be started at boot
62time, given ezjail is enabled by setting the 62time, given ezjail is enabled by setting the
63.Xr rc.conf 5 63.Xr rc.conf 5
@@ -354,7 +354,7 @@ in the host, using the same sources.
354Like all 354Like all
355.Xr rc 8 355.Xr rc 8
356scripts, the ezjail script 356scripts, the ezjail script
357.Pa EZJAIL_PREFIX/etc/rc.d/ezjail.sh 357.Pa EZJAIL_PREFIX/etc/rc.d/ezjail
358accepts parameters 358accepts parameters
359.Cm start , restart No and Cm stop, No running, restarting and stopping 359.Cm start , restart No and Cm stop, No running, restarting and stopping
360all (non-blocking) jails under ezjail's control by default. When passed an 360all (non-blocking) jails under ezjail's control by default. When passed an
@@ -381,7 +381,7 @@ Note that jails configured to be in the
381.Em norun 381.Em norun
382state (using 382state (using
383.Nm Cm config Fl r Ar norun Ar jailname ) 383.Nm Cm config Fl r Ar norun Ar jailname )
384are never started by the ezjail.sh script. 384are never started by the ezjail rc script.
385.Pp 385.Pp
386As a convenient shortcut, the 386As a convenient shortcut, the
387.Nm 387.Nm
@@ -390,7 +390,7 @@ if they look like valid parameters.
390.Pp 390.Pp
391Even if ezjail is not enabled in the 391Even if ezjail is not enabled in the
392.Xr rc.conf 5 , 392.Xr rc.conf 5 ,
393ezjail.sh can be used to start and stop jails by prepending 393rc.d/ezjail can be used to start and stop jails by prepending
394.Cm force No or Cm one No to the Cm start, restart No or Cm stop No parameter. 394.Cm force No or Cm one No to the Cm start, restart No or Cm stop No parameter.
395Refer to 395Refer to
396.Xr rc 8 396.Xr rc 8
@@ -632,7 +632,7 @@ variable to create the filesystem in.
632.Sh FILES 632.Sh FILES
633.Pa EZJAIL_PREFIX/bin/ezjail-admin 633.Pa EZJAIL_PREFIX/bin/ezjail-admin
634.br 634.br
635.Pa EZJAIL_PREFIX/etc/rc.d/ezjail.sh 635.Pa EZJAIL_PREFIX/etc/rc.d/ezjail
636.br 636.br
637.Pa EZJAIL_PREFIX/etc/ezjail.conf 637.Pa EZJAIL_PREFIX/etc/ezjail.conf
638.br 638.br
diff --git a/man8/ezjail-admin.8 b/man8/ezjail-admin.8
index 375bf28..727615b 100644
--- a/man8/ezjail-admin.8
+++ b/man8/ezjail-admin.8
@@ -379,7 +379,7 @@ The following columns are the JID (when it is running), the IP addresses, the na
379.Pp 379.Pp
380This is a shortcut to the 380This is a shortcut to the
381.Xr rc 8 381.Xr rc 8
382.Cm ezjail.sh 382.Cm ezjail
383script. Refer to 383script. Refer to
384.Xr ezjail 7 384.Xr ezjail 7
385section 385section
@@ -585,7 +585,7 @@ filesystem is taken first.
585.Sh FILES 585.Sh FILES
586.Pa EZJAIL_PREFIX/bin/ezjail-admin 586.Pa EZJAIL_PREFIX/bin/ezjail-admin
587.br 587.br
588.Pa EZJAIL_PREFIX/etc/rc.d/ezjail.sh 588.Pa EZJAIL_PREFIX/etc/rc.d/ezjail
589.br 589.br
590.Pa EZJAIL_PREFIX/etc/ezjail.conf 590.Pa EZJAIL_PREFIX/etc/ezjail.conf
591.br 591.br