On Mon May 27, 2002 at 09:38:05AM +0200, Oden Eriksson wrote: [...] > > Hmmm... methinks I should look at what I can do running vsftpd under > > tcpserver... I bet I could accomplish it that way... > > > > Anyways, I'll take a peek tomorrow when I'm in the office. > > When I run (ran) proftpd/wu-ftpd I did it like this: > > [root@kamajokk /]# cat /var/service/proftpd/run > #!/bin/sh > PATH="/sbin:/usr/sbin:/bin:/usr/bin:/var/qmail/bin:/usr/local/bin:$PATH" > exec 2>&1 > exec tcpserver -XHRv -c50 -llocalhost \ > -x/etc/tcprules.d/ftpd.cdb 0 ftp \ > /usr/sbin/in.proftpd -n -d > > [root@kamajokk /]# cat /var/service/wuftpd/run > #!/bin/sh > PATH="/sbin:/usr/sbin:/bin:/usr/bin:/var/qmail/bin:/usr/local/bin:$PATH" > exec 2>&1 > exec tcpserver -HRv -c40 -llocalhost \ > -x/etc/tcprules.d/ftpd.cdb 0 ftp \ > /usr/sbin/in.ftpd -l -a -t 7200
Way cool... thanks for the tip, Oden. Just as an FYI: [root@logan service]# cat /service/vsftpd/run #!/bin/sh PATH="/sbin:/usr/sbin:/bin:/usr/bin:$PATH" #exec 2>&1 exec /usr/bin/tcpserver -c30 -HRv -llocalhost -x /etc/tcprules.d/ftpd.cdb \ 127.0.0.1 ftp /usr/sbin/vsftpd /etc/vsftpd.conf 2>&1 [root@logan service]# Very nice... I can have a different config file for each instance, bind to a different IP for each instance... I love it! Time to ditch proftpd and go with vsftpd methinks... Yves, BTW, vsftpd works just peachy... very nice. Haven't tested everything with it, but so far so good (and yes, I did run it under xinetd as well, just to make sure). Methinks I smell an article on tcpserver coming soon... I had only used it with qmail and djbdns previously, but now that I've looked into it a little further, I can see moving the entire system under tcpserver... > Now I don't since my customers are all running windoze and have to use WinSCP > (http://winscp.vse.cz/eng/) or cygwin+openssh instead. No more private ftp > stuff... Yuck... I feel sorry for you. =( -- MandrakeSoft Security; http://www.mandrakesecure.net/ "lynx -source http://www.freezer-burn.org/bios/vdanen.gpg | gpg --import" 1024D/FE6F2AFD 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD Current Linux kernel 2.4.18-6.4mdk uptime: 4 days 8 hours 4 minutes.
msg64905/pgp00000.pgp
Description: PGP signature