Originally Posted by icedude
Hi. I got my vsftpd server to work. It's hard if you dont know how.
I wanted my users that i had to log onto my server. I "disabled" anonymous logins and chrooted my users in there home folder by
commenting out the following:
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
# (default follows)
then create the file in /etc called vsftpd.chroot_list.
There are other and i think it is the easiest way to chrooted the user in to their home directory. put this line into your vsftpd.conf
and comment those option you mentioned above.
I didn't said that it is wrong to use your way to chrooted user but you need to specify the user in vsftpd.chroot_list.
Anyway this is depend on how you want your user to access your ftp server, if you want only your users has access only in their home directory then my code will be better, but if you want some of the user only then you ca use yours
Hope this helps you.