|
Here is what you do for ProFTPd.
SSH to your server. Look for the proftpd.conf file. It's usually in /etc/proftpd.conf. You can do a "locate proftpd.conf" if it isn't in the /etc directory. Open it with vi or pico.
pico -w /etc/proftpd.conf
Add this
DefaultRoot ~
This will chroot them to their home directory that is listed in /etc/passwd
You might want to open /etc/passwd with vi or pico to make sure their home directory is where you want it.
|