Chrooting a ftp user to a particular directory

I would like to chroot a user to their home directory on a debian linux server. Im using vsftpd server.

I've done it with a user before, and now cant remember how to do it. I've limited ssh access to the root user so the chrooted user cant ssh.

Anyone think of what i may be missing?

--Mark


Add

chroot_local_user=YES

to vsftpd.conf.