Librenix  
(Show all Chroot articles . . .
)  
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Tutorial: SFTP chroot user jail on CentOS

Up
vote
Down

This tutorial shows how to set up a safe chroot for your users. It offers chroot only and will deny all SSH access. It should only take about thirty minutes from start to finish including package download times if you don't already have them.

This method is safer because it doesn't allow the users access to any commands such as a compiler or the perl interpreter.
You will not need to install any extensive libraries or copy hundreds of files for functional use.

The user will be 'jailed' to any directory you choose which will mean that they will see "/home/username/" as just "/" disabling them from seeing your entire server or others users files while still using SECURE FTP.
 read more | mail this link | score:8280 | -GO ILLINI, December 4, 2007
More Sysadmin articles...

Buy Digital Art on Acrylic

admin headlines

Secure Apache2 with LinOTP

Install mod_geoip for Apache2 on Ubuntu 12.04

GlusterFS 3.2 Tutorial: 4 Node Distributed Replicated Storage on Ubuntu 11.10

Tutorial: Install Apache2, PHP5, MySQL on Ubuntu 11.04

Set up OpenVPN Server, OpenLDAP on Debian 6.0

Set up WebDAV, Apache2 on OpenSUSE 11.3

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin