I am running vsftpd as ftp server on my linux (rasbian), I log in to the machine as a root user.
I would like to be still locked to using only /var/www, how can I configure vsftpd conf to accomplish ...

I have installed vsftpd utility on Fedora 10 to restrict users to their (chroot) home directories. It works fine when I use ftp prompt to connect. However it does not work when i connect using sftp.
...