I know this is an easy one, but after hours of going through the documentation, I still don’t get it.

 

I’m trying to allow a user to log in over ftp, and then chroot him to only see the stuff in /var/www/html.

 

Any hints on how to do this?  Sample configs appreciated.  Is there an easier way to do this via ssh, so when he logs in he’d automatically chroot’ed to only where I want him to be?

 

Thanks.

 

-Andrew

Reply via email to