I'm using a Digital Ocean droplet (Ubuntu 14.04.3) to create a temporary ftp server to get some data (it doesn't need security). I've set up vsftpd so that access is given to regular chrooted users on the system. I also created just one regular user (ftpuser) using the adduser
command.
The problem is that I can ftp using the ftpuser without issue but within 24 hours something happens to the user password and then I can no longer login. If ssh into the system as root and do a passwd ftpuser
and change the password to what I was using before - then it works fine for the next 24 hours and once again - it doesn't work anymore.
This is driving me completely crazy because it doesn't make any sense.
Here are details of configuration:
vsftpd.conf:
listen=YES
local_enable=YES
write_enable=YES
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
#pam_service_name=vsftpd
pam_service_name=ftp
I've also updated Ubuntu with the latest security patches fwiw.