select * from section<?xml version='1.0' encoding='iso-8859-1' ?>
<article>
<id><![CDATA[5]]>></id>
<author><nick><![CDATA[Juan M. Casillas]]>></nick>
<email><![CDATA[juanm.casillas@jmcresearch.com]]>></email>
></author>
<title><![CDATA[Configuring Jail]]>></title>
<subtitle><![CDATA[Overview of the installation process]]>></subtitle>
<body><![CDATA[&lt;p&gt;
Jail is launched as a login shell for any of the servers that allows
access to the machine from the net, e.g. sshd, telnetd, ftpd, etc. So
Jail is the &lt;b&gt;shell of the chrooted users&lt;/b&gt;. To build a chrooted
user, four steps are required:
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Build user?s passwd entries in the non-chrooted environment.
&lt;li&gt;Setup chrooted environment.
&lt;li&gt;Add the software to the chrooted environment.
&lt;li&gt;Add the users to the chrooted environment.
&lt;/ul&gt;

&lt;p&gt;
The first one is required to allow the user launch jail when a login
process is invoked. The second, three and four steps are required to 
built the chrooted enviroment (create the required directories, 
copying the library and binary files, changing chrooted /etc/passwd file, 
and so on).
&lt;/p&gt;

&lt;p&gt;
So these are the required steps in order to setup jail:

&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;/projects/jail/entries_setup.html&quot;&gt;Setup Entries&lt;/a&gt;
&lt;li&gt;&lt;a href=&quot;/projects/jail/mkjailenv.html&quot;&gt;Create directories&lt;/a&gt; 
&lt;li&gt;&lt;a href=&quot;/projects/jail/addjailuser.html&quot;&gt;Adding users&lt;/a&gt;
&lt;li&gt;&lt;a href=&quot;/projects/jail/addjailsw.html&quot;&gt;Adding software&lt;/a&gt;
&lt;/ol&gt;
&lt;/p&gt;
]]>></body>
<keywords><![CDATA[Jail configuration]]>></keywords>
<stamp><![CDATA[1061910648]]>></stamp>
<updated><![CDATA[1076775860]]>></updated>
<language><![CDATA[0]]>></language>
<sections><section><![CDATA[Jail]]></section>
></sections>
<site><![CDATA[http://www.jmcresearch.com]]>></site>
<url><![CDATA[http://www.jmcresearch.com//src/articlehelper.php?action=preview&amp;id=5]]>></url>
</article>