I'm trying to setup vsftpd, looks like I'm partly there because I'm able to connect - I'm just not able to login.
I have this line in my vsftpd.conf file: local_enable=YES
If I'm not mistaken this is supposed to enable local users to login with their accounts.
I also have taken these steps from the root account:
# groupadd ftp-users
# mkdir /home/ftp-docs
# chmod 750 /home/ftp-docs
# chown root:ftp-users /home/ftp-docs
# useradd -g ftp-users -d /home/ftp-docs user1
# passwd user1 ( and of course assigned a password )
Next I copied a file into /home/ftp-docs
Finally issued thes commands:
# chown root:ftp-users /home/ftp-docs/*
# chmod 740 /home/ftp-docs/*
At this point I restarted the server.
Here's what happens when I try to connect:
Connected to 192.168.0.199.
220 Slackbox FTP
User (192.168.0.199:(none)): user1
331 Please specify the password.
530 Login incorrect.
I know the user1 acounts was actually created, because I'm able to logon to the machine locally with it, just not via ftp.
Any idea what I'm missing?