Lines 25-31
Link Here
|
25 |
.\" |
25 |
.\" |
26 |
.\" $FreeBSD$ |
26 |
.\" $FreeBSD$ |
27 |
.\" |
27 |
.\" |
28 |
.Dd February 25, 2015 |
28 |
.Dd June 12, 2015 |
29 |
.Dt JAIL 8 |
29 |
.Dt JAIL 8 |
30 |
.Os |
30 |
.Os |
31 |
.Sh NAME |
31 |
.Sh NAME |
Lines 115-121
Link Here
|
115 |
The jail may be restarted if necessary to modify parameters than could |
115 |
The jail may be restarted if necessary to modify parameters than could |
116 |
not otherwise be changed. |
116 |
not otherwise be changed. |
117 |
.It Fl cmr |
117 |
.It Fl cmr |
118 |
Create a jail if it doesn't exist, or modify (and possibly restart) the |
118 |
Create a jail if it does not exist, or modify (and possibly restart) the |
119 |
jail if it does exist. |
119 |
jail if it does exist. |
120 |
.El |
120 |
.El |
121 |
.Pp |
121 |
.Pp |
Lines 203-209
Link Here
|
203 |
.Fl r |
203 |
.Fl r |
204 |
and |
204 |
and |
205 |
.Fl R |
205 |
.Fl R |
206 |
options can also remove running jails that aren't in the |
206 |
options can also remove running jails that are not in the |
207 |
.Xr jail.conf 5 |
207 |
.Xr jail.conf 5 |
208 |
file, specified by name or jid. |
208 |
file, specified by name or jid. |
209 |
.Pp |
209 |
.Pp |
Lines 248-254
Link Here
|
248 |
Some parameters are boolean, and do not have a value but are set by the |
248 |
Some parameters are boolean, and do not have a value but are set by the |
249 |
name alone with or without a |
249 |
name alone with or without a |
250 |
.Dq no |
250 |
.Dq no |
251 |
prefix, e.g. |
251 |
prefix, e.g., |
252 |
.Va persist |
252 |
.Va persist |
253 |
or |
253 |
or |
254 |
.Va nopersist . |
254 |
.Va nopersist . |
Lines 804-816
Link Here
|
804 |
.Fx |
804 |
.Fx |
805 |
distribution, the following |
805 |
distribution, the following |
806 |
.Xr sh 1 |
806 |
.Xr sh 1 |
807 |
command script can be used: |
807 |
command script can be used with a copy of a optical disc image: |
808 |
.Bd -literal |
808 |
.Bd -literal |
809 |
D=/here/is/the/jail |
809 |
D=/here/is/the/jail |
810 |
cd /usr/src |
810 |
mount -t cd9660 /dev/`mdconfig -f cdimage.iso` /mnt |
811 |
mkdir -p $D |
811 |
tar -xf /mnt/usr/freebsd_dist/base.txz -C $DESTDIR |
812 |
make world DESTDIR=$D |
|
|
813 |
make distribution DESTDIR=$D |
814 |
.Ed |
812 |
.Ed |
815 |
.Pp |
813 |
.Pp |
816 |
In many cases this example would put far more in the jail than needed. |
814 |
In many cases this example would put far more in the jail than needed. |
Lines 1156-1162
Link Here
|
1156 |
of the jail that created it; a |
1154 |
of the jail that created it; a |
1157 |
.Va jid |
1155 |
.Va jid |
1158 |
of 0 indicates the jail is a child of the current jail (or is a top-level |
1156 |
of 0 indicates the jail is a child of the current jail (or is a top-level |
1159 |
jail if the current process isn't jailed). |
1157 |
jail if the current process is not jailed). |
1160 |
.Pp |
1158 |
.Pp |
1161 |
Jailed processes are not allowed to confer greater permissions than they |
1159 |
Jailed processes are not allowed to confer greater permissions than they |
1162 |
themselves are given, e.g., if a jail is created with |
1160 |
themselves are given, e.g., if a jail is created with |