Knowledge for our questions, fun for everyone!
Knowledge for our questions, fun for everyone!
Table of contents
Introduction
How Jail works
Jail internals
Configuring Jail
Setup Entries
Create directories
Adding users
Adding software
Install HOWTO
Download
Top Sections
Libros (160)
Escalada (68)
Outdoor sports (62)
Mountain Bike (58)
Load Balancer (18)
Top project downloads
Jail (20592)
Load Balancer (4084)
eventmonitor (2997)
phptemplater (2478)
Libxml (1447)
Top active projects
Jail (10776)
libnetcomm (10319)
Libxml (9030)
phptemplater (8470)
eventmonitor (7432)
Exits
Jail at Sourceforge
Jail Mailing list
Jail Slashdotted
Jail "Barrapunted"
Jail at Freshmeat
Jail in the WWW
Go back to projects
Poll (101 votes)
What kind of templates you use?
None
String replacements
Smarty
PHPTemplater

Configuring Jail

Overview of the installation process
Configuring Jail
Overview of the installation process

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 shell of the chrooted users. To build a chrooted user, four steps are required:

  • Build user’s passwd entries in the non-chrooted environment.
  • Setup chrooted environment.
  • Add the software to the chrooted environment.
  • Add the users to the chrooted environment.

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).

So these are the required steps in order to setup jail:

  1. Setup Entries
  2. Create directories
  3. Adding users
  4. Adding software

Published at 26/08/2003 17:10:48
Last Updated 14/02/2004 17:24:20
By Juan M. Casillas




Google



Configuring Jail
Overview of the installation process

Sections
Jail

February's articles
S M T W T F S
 
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
      
More articles

Search


Other versions
XML version
Printable version

Download
Latest version is 1.9a (32.9 Kb, tar.gz file)

 » from JMCResearch
Quick links
Jail Mailing list
Jail install HOWTO
Bug Report
Feature Request
CVS Repository
Local CVS Repository
Ask your questions