Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
litespeed_wiki:cloudlinux:cagefs [2015/07/29 16:12]
Michael Alegre created
litespeed_wiki:cloudlinux:cagefs [2018/09/19 18:11] (current)
Michael Alegre [5. Verify CageFS setup]
Line 5: Line 5:
 In this article, we show how to install CageFS (a Cloudlinux feature) and enable it with LiteSpeed Web Server. In this article, we show how to install CageFS (a Cloudlinux feature) and enable it with LiteSpeed Web Server.
  
-Detailed installation instructions for CageFS can be found at http://​docs.cloudlinux.com/​installation2.html+Detailed installation instructions for CageFS can be found at http://​docs.cloudlinux.com/​index.html?​cagefs_installation.html
  
  
Line 16: Line 16:
  
  
-CageFS, previously known as [[litespeed_wiki:​securelve_how_to|SecureLVE]], is a security extension of CloudLinux. It creates a virtualized file system and set of tools for each end user. This makes sure that each user can see only their own files and tools. The separation is preserved for shell scripts, CGI scripts, and cronjobs as well.+CageFS, previously known as SecureLVE, is a security extension of CloudLinux. It creates a virtualized file system and set of tools for each end user. This makes sure that each user can see only their own files and tools. The separation is preserved for shell scripts, CGI scripts, and cronjobs as well.
  
 ==== 1. Installation ==== ==== 1. Installation ====
Line 92: Line 92:
  
  
-To enable in LSWS, go to WebAdmin Console -> Configuration ​-> Server ​-> General ​-> CloudLinux and set CloudLinux to "CageFS" ​or "CageFS without suEXEC".+To enable in LSWS, go to **Configuration > Server > General > CloudLinux** and set **CloudLinux** to ''​CageFS'' ​or ''​CageFS without suEXEC''​.
  
  
Line 168: Line 168:
 Create a test file under the document root as follows: Create a test file under the document root as follows:
 <​code>​ <​code>​
-test1@cptest [~]# cat test.php+test1@cptest [~]# vi test.php
 <?php <?php
 $passwd=`cat /​etc/​passwd`;​ $passwd=`cat /​etc/​passwd`;​
Line 175: Line 175:
 </​code>​ </​code>​
  
-Pointing the browser to http://​test1.example.com/​test.php should show the following: (Only the user's own /etc/passwd is visible to the jailed vhost.)+Pointing the browser to ''<​nowiki>​http://​test1.example.com/​test.php</​nowiki>'' ​should show the following: (Only the user's own ''​/etc/passwd'' ​is visible to the jailed vhost.)
  
 <​code>​ <​code>​
  • Admin
  • Last modified: 2015/07/29 16:12
  • by Michael Alegre