LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Xinetd to run vsftpd? (https://www.linuxquestions.org/questions/linux-newbie-8/xinetd-to-run-vsftpd-24942/)

tharris 07-03-2002 09:38 AM

Xinetd to run vsftpd?
 
I heard that vsftpd is a pretty good and secure alternative to wu-ftp so I did a quick up2date vsftpd and got it installed on my machine. Problem is, I have never installed any programs that require xinetd to run. I have been trying to read through th doc and I am no where? Can you help me? the reason I want to setup a ftp server is for my personal use (intranet) and not really for outside access. Is this even the best way?

Thanks
tharris

notsoevil 07-03-2002 12:15 PM

You need a file in /etc/xinetd.d called ftp.
You need the following information in said file:

Code:

service ftp
{
        disable                = no
        flags                  = REUSE
        socket_type            = stream
        wait                    = no
        user                    = root
        server                  = /path/to/server/binary
        log_on_success          += DURATION USERID
        log_on_failure          += USERID
        nice                    = 10
}

Then restart xinetd from the command line:

#> kill -HUP `head -1 /var/run/xinetd.pid`

MikeT 01-29-2003 09:40 PM

I'm trying to use wu-ftp for anonymous access with xinetd and I have read docs and man's but I cannot find out how to start the server.

born4linux 01-30-2003 01:45 AM

Quote:

Originally posted by MikeT
I'm trying to use wu-ftp for anonymous access with xinetd and I have read docs and man's but I cannot find out how to start the server.
wu-ftpd in RHL 7.2 is an xinetd controlled service. to have it working, you need to:

1. enable it in the wu-ftpd file under /etc/xinetd.d/ or via chkconfig command (as root):

/sbin/chkconfig wu-ftpd on

2. restart xinetd:

/sbin/service xinetd restart

via chkconfig - the xinetd service is automatically started. now, if u are monitorin the ftp daemon, u would only see it when there is an ftp connection.

hth.


All times are GMT -5. The time now is 06:19 AM.