sparky87
4th March 2009, 23:18
Hi,
i have installed pure-ftpd from source on my Fedora. i also use virtual users stored in MySQL.
everything seems to be working. mysql authentication, finding users homedir in mysql table and so on.
only one problem i have, is that chroot doesnt work. of course in my config file is: ChrootEveryone yes.
and in fact, if the users are stored in PureDB, chroot works fine, without problems. so i guess, the problem
won't be in my pureftpd config file. but i don't understand , why chroot doesn't work, when the users are stored in MySQL?
i use pure-ftpd.1.0.21. and start it like this:
/etc/init.d/pure-ftpd start
Starting : Pure-FTPd Server Running: /usr/local/pureftpd/sbin/pure-
ftpd -A -b -c100 -B -C4 -D -E -fftp -H -I5 -lmysql:/usr/local/pureftpd/etc/mysql.conf -L10000:3 -m4 -s -U133:022 -u2000 -i -Oclf:/var/log/pureftpd/transfers.log -j -g/var/run/pure-ftpd/pure-ftpd.pid -k95 -Z
thanks for your answers
i have installed pure-ftpd from source on my Fedora. i also use virtual users stored in MySQL.
everything seems to be working. mysql authentication, finding users homedir in mysql table and so on.
only one problem i have, is that chroot doesnt work. of course in my config file is: ChrootEveryone yes.
and in fact, if the users are stored in PureDB, chroot works fine, without problems. so i guess, the problem
won't be in my pureftpd config file. but i don't understand , why chroot doesn't work, when the users are stored in MySQL?
i use pure-ftpd.1.0.21. and start it like this:
/etc/init.d/pure-ftpd start
Starting : Pure-FTPd Server Running: /usr/local/pureftpd/sbin/pure-
ftpd -A -b -c100 -B -C4 -D -E -fftp -H -I5 -lmysql:/usr/local/pureftpd/etc/mysql.conf -L10000:3 -m4 -s -U133:022 -u2000 -i -Oclf:/var/log/pureftpd/transfers.log -j -g/var/run/pure-ftpd/pure-ftpd.pid -k95 -Z
thanks for your answers