How to create an FTP only user account?

Hi

I wonder if someone has a good information on how to create an FTP only account on a box with proftpd and without any control panel.

This command works fine:

useradd -g ftp -d /home/userid userid

The problem, is that the user can use his FTP usernname/password to SSH into the server, browse all directories and even copy files from other directories to his very own.

Basically, the question is how to create this FTP user but prevent him from login into the server using SSH?

 

 

 

 

Top