I am setting up a new user let his name be
ftpguy. He has access to only one directory
/var/www/xxx. I have already chowned the directory so that he has write and read privileges. The user is also unable to login via ssh as I have disabled that by changing his shell to
Also, in vsftpd config, I have enabled the
chroot_local_user. Now whenever I log in from ftp, i get an auth error.
Connect socket #1008 to xxxxxxxx, port 21... 220 Welcome to blah FTP service. USER ftpguy 331 Please specify the password. PASS ********** 530 Login incorrect.
I changed the password to something different several times, using the passwd command, nothing happens, i still the above error.
However I am able to log in with my ssh creditals to my ftp server without any problems.(I do not use a key).