View Full Version : Pureftpd+MySQL
osanet
19th May 2006, 12:43
Hi
I have integrated pureftpd with mysql , now how I can disabled user account and send him a custom messagess why account is a disabled?
Like this:
Connecting to my_ftp_server
FTP server ready.
Logging in...
Password requested by 10.10.10.10 for user "lcd".
User lcd OK. Password required
Password: ******
account is disabled - please send e-mail to tech@mydomain.com
and now disconnect user with my ftp server
any ideas?
osanet
falko
19th May 2006, 15:47
Do /etc/pure-ftpd.conf or the directory /etc/pure-ftpd exist?
osanet
19th May 2006, 17:20
File exist but oder path /usr/local/etc/pureftpd-mysql.conf
falko
21st May 2006, 22:42
Which distribution do you use? How did you install Pure-FTPD (as a package, or did you compile it)?
Did you have a look at this tutorial? http://www.howtoforge.com/pureftpd_mysql_virtual_hosting
osanet
22nd May 2006, 13:45
Hi
I was compiled pureftpd with FreeBSD 6.0 and debian 3.1
Evrything is working very good, I read your tutorial about pure-ftpd
No I think how I can send custom messages to my user why account is a disabled when they are logged in personal account
Did you try set something like this?
falko
23rd May 2006, 00:37
Did you have a look here? http://download.pureftpd.org/pub/pure-ftpd/doc/README
It has some hints about welcome messages.
osanet
25th May 2006, 00:21
Did you have a look here? http://download.pureftpd.org/pub/pure-ftpd/doc/README
It has some hints about welcome messages.
Hi
No it's not that option,this messages user show when he give corrent password
When he give bad password he didn't show messages from file welcome.msg
osanet
osanet
25th May 2006, 13:35
Hi
I used pureftpd with mysql and I limit user "foo" with two session
per/IP and he have ULBandwidth and DLBandwidth 100KB/s
When login user "foo" twice , he have in amount 200KB/s
1.sesion = 100KB/s
|---------- 200KB/s
2.sesion = 100KB/s
How I can put restrictions user "foo", that after logging twice he have
no more with 100KB/s
1.session =
|----------- <= 100KB/s
2.sesion =
Any ideas?
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.