View Single Post
Old 19th December 2006, 15:07
GaulHahn GaulHahn is offline
Junior Member
Join Date: Dec 2006
Location: Mornington Peninsula, Australia
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post

Thanks for your response Falko!

I discovered another way around this problem. By default (on Ubuntu 6.06.1 at least) /etc/pure-ftpd/conf/MinUID has a value of 1000

I set /etc/pure-ftpd/conf/MinUID to "1" which allows www-data UID 33 to log on to the FTP server. Then if I set the User in the MySQL database with UID and GID 33 it works fine.

On Ubuntu 6.06.1 pure-ftpd-mysql runs this:

/usr/sbin/pure-ftpd-mysql -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -u 1000 -E -A -O clf:/var/log/pure-ftpd/transfer.log -j -B

From the man pages:

- '-u <uid>': Don't allow uids below <uid> to log in. '-u 1' denies access
to root (safe), '-u 100' denies access to virtual accounts on most Linux


Last edited by GaulHahn; 19th December 2006 at 15:09.
Reply With Quote