LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-03-2002, 09:38 AM   #1
tharris
Member
 
Registered: Jun 2002
Location: Albany, GA
Distribution: Slackware 9.1, Debian Woody (2.4.18-bf2.4)
Posts: 34

Rep: Reputation: 15
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
 
Old 07-03-2002, 12:15 PM   #2
notsoevil
Member
 
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120

Rep: Reputation: 15
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`
 
Old 01-29-2003, 09:40 PM   #3
MikeT
LQ Newbie
 
Registered: Jan 2003
Location: Texas
Distribution: RH 7.2
Posts: 20

Rep: Reputation: 0
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.
 
Old 01-30-2003, 01:45 AM   #4
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd inetd -> xinetd slackster Linux - Networking 2 06-26-2005 05:37 PM
vsftpd and xinetd problem zsoltrenyi Linux - Software 5 09-01-2004 02:48 AM
Xinetd not starting vsftpd? simonmccourt Linux - Networking 0 02-22-2004 08:08 AM
VSFTPD problems with xinetd paintcheck200 Linux - Networking 6 09-11-2003 12:39 PM
Cannot get vsftpd and xinetd to play together SForsgren Linux - General 6 05-02-2003 01:08 AM


All times are GMT -5. The time now is 07:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration