Installing and configuring ProFTPD Installing and configuring ProFTPD so that a web user can login and be jailed to their home directory is very simple Firstly install proftpd via your FreeBSD Ports Directory Once installed copy the proftpd.conf sample file to proftpd.conf Edit the file and uncomment #DefaultRoot ~ as per below # To cause every FTP user to be "jailed" (chrooted) into their home # directory, uncomment this line. DefaultRoot ~ Then edit the proftpd startup script in /usr/local/etc/rc.d/ And change proftpd_enable=$ to proftpd_enable=$ edit your /etc/rc.conf file and add proftpd_enable="YES" Then start proftpd via the startup script You should now be able to login as a user you created and you should only see your directory you should not be able to go back from /home/myuser to /home for instance This is great for keeping clients in their vhost directory so that the can not traverse other directories.
Joe-Ma is a how to site that will assist people out there to setup and configure Cisco and Mikrotik routers, Tacacs syslog and many other things including mail servers, Active Directory Authentication between Unix Servers and Windows Servers. Apache help, Dynamic DNS and a whole lot more. The site is Apple FreeBSD, Ubuntu ,WordPress Mikrotik and Cisco Centric.