summaryrefslogtreecommitdiff
path: root/INSTALL
blob: babb319d54d497535d45b621391f44d45e3f8601 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
======================================================================
                      Jailer INSTALL


This software only works with FreeBSD jails. It should be installed
and run from within a full jail system.


QUICK INSTALLATION:
 # tar -zxvf jailer-1.1.2.tar.gz
 # ./configure
 # make && make install


This installs the jailer on your system, probably in /usr/local/sbin.
To use the jailer substitute 'sh /etc/rc' with it in your jail startup
command:

 # jail /usr/jails/myjail myjailhost 192.168.2.21 /usr/local/sbin/jailer

See jail(8) for more information.



REPLACING HALT AND REBOOT COMMANDS:

To be able to reboot the jail from inside it, copy the provided
halt and reboot scripts over your original halt and reboot commands.
Note that you should only do this inside a jail!

 # cp /usr/local/sbin/halt /usr/local/sbin/reboot /sbin