pure-ftpd debian, can't get www-data user working

Posted by lynks on Server Fault See other posts from Server Fault or by lynks
Published on 2012-10-07T18:00:05Z Indexed on 2013/10/29 3:58 UTC
Read the original article Hit count: 533

Filed under:
|
|
|

I'm trying to add FTP access to the apache web files, in the past I have done this with an ftpuser and group arrangement. This time I would like to make it possible to login directly as www-data (the default apache user on debian) to make things a bit cleaner.

I have checked and re-checked all the common issues;

  • MinUID is set to 1 (www-data has uid 33)
  • www-data has shell set to /bin/bash in /etc/passwd
  • PAMAuthentication is off
  • UnixAuthentication is on
  • I have restarted pure-ftpd using /etc/init.d/pure-ftpd restart

My resulting pure-ftpd run is;

/usr/sbin/pure-ftpd -l unix -A -Y 1 -u 1 -E -O clf:/var/log/pure-ftpd/transfer.log -8 UTF-8 -B

My syslog contains; Oct 7 19:46:40 Debian-60-squeeze-64 pure-ftpd: ([email protected]) [WARNING] Can't login as [www-data]: account disabled

And my ftp client is giving me; 530 Sorry, but I can't trust you

Am I missing something obvious?

© Server Fault or respective owner

Related posts about apache2

Related posts about debian