Subject: How to jail an ftp user
To: None <netbsd-users@netbsd.org>
From: Phil Pereira <freeserver@wintellect.co.uk>
List: netbsd-users
Date: 05/07/2003 07:35:14
Hello fellow NetBSD users  :)

I can setup ftp from inetd.conf, and can configure a non-login account called ftp; and can also control allowed ftp users from /etc/ftpusers.

However, once a user (say "ftp") is allowed to ftp in to a directory like /home/ftp how can I force a jail around /home/ftp so that they can only move within that directory or lower - basically preventing them from moving to /home or anywhere else?

Thanks

-- 
Phil.
---------------------------------------------------
                                           (_ )
UNIX is "user-friendly",                \\\", ) ^
it's just picky about its friends!        \/, \(
                                         cXc_/_)
---------------------------------------------------