apt-get install scponly #answer yes to the question in the blue dialogue about scponlyc and suid
cd /home/
mkdir jails
chown root jails
chmod 755 jails
cd jails/
cd /usr/share/doc/scponly/setup_chroot
gunzip setup_chroot.sh.gz
chmod u+x setup_chroot.sh
./setup_chroot.sh

----
setup_chroot.sh is interactive and will prompt for the following information for each user you want to set up:
username to install:
home directory you wish to set for this user:
name of the writeable subdirectory:

http://ubuntuforums.org/showthread.php?t=451510

Posted Monday, April 7th, 2008 at 11:14 am
Filed Under Category: UNIX Hosting
Responses are currently closed, but you can trackback from your own site.

0

Comments are closed.