[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: xinetd.conf sample for ?



LinuxKH wrote:
> 
> Hello!
> 
> I need a sample configuration of ProFTP in `xinetd.conf`.
> Very bad that ProFTP didn't ship with an example. :(
> ( Yeah `man xinetd`, but how for ProFTP ?)
> 
> Do you have one for donation ?
> 
> Thanks a lot for your giving, gentlemen !

I use proftpd + xinetd, in /etc/proftpd.conf I have:

ServerType                      inetd

And in /etc/xinetd.d/ I made a file called "proftpd", that has:

service ftp
{
        disable = no
        socket_type             = stream
        wait                    = no
        user                    = root
        server                  = /usr/sbin/proftpd
        server_args             = -c /etc/proftpd.conf
        log_on_success          += DURATION USERID
        log_on_failure          += USERID
        nice                    = 10
}

And that's it, do a service xinetd restart

Don't forget to disable/erase wu-ftpd and to kill proftpd if you have it
running standalone.

Hope that helps.

Alex.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]