FTP Security On Shared Servers

Lets say I have a dedicated server, I want to allow people to logon to the server via FTP and view their home directory, and only their home directory, I want it to look like their home directory is root and to be unable to change out of it.

I dont want them to login via SSH etc... just FTP

Ive seen it done many times, the one i seen was altering the /bin/bash to /ftponly in /etc/passwd but it didnt work without putting a selection of files into the users home directory, its all quite confusing, could anybody describe how its done or any alternatives?

regards

XT

 

 

 

 

Top