LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-18-2004, 04:11 PM   #1
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
Where is inetd.conf in fedora?


Hi, I went to http://freebsdhowtos.com/63.html to learn how to set up proftpd... got it compiled and all

Now, i dont wanna run it standalone

So that page above (http://freebsdhowtos.com/63.html) says how to put it in indetd on freebsd

Where is the inetd where I can add those lines of code for fedora?

Thanks
 
Old 04-18-2004, 04:33 PM   #2
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
I think Fedora uses the xinetd instead of inetd.
There ought to be a /etc/xinetd.d/ directory unless they have made a totally new layout since Red Hat 9.0
 
Old 04-18-2004, 04:33 PM   #3
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Fedora uses xinetd rather then inetd. I forget where exactly the xinetd conf file is.
 
Old 04-18-2004, 04:41 PM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
I don't know about Fedora specials but /etc/xinetd.conf is the default config file and /etc/xinetd.d/ the default location for xinetd service scripts.


Håkan
 
Old 04-18-2004, 05:15 PM   #5
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
Here is what is in xinetd.conf

#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}

includedir /etc/xinetd.d



Will I be able to add the following lines to it and have it load proftpd

ftp stream tcp nowait root /usr/sbin/proftpd -c /etc/proftpd.conf proftpd
----------------------------------------------------------------------------


Last edited by jon_k; 04-18-2004 at 05:17 PM.
 
Old 04-18-2004, 05:24 PM   #6
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
Okay, I added the following to my xinetd.conf file

restarted my system, and ftp didn't seem to work

heres what i added
service ftp
{
flags = REUSE
socket_type = stream
instances = 50
wait = no
user = root
server = /usr/local/sbin/proftpd
bind = 192.168.0.1
log_on_success = HOST PID
log_on_failure = HOST RECORD
}



where bind = my LAN ip address
and server = location of proftpd


This isn't working, what did i do wrong

Last edited by jon_k; 04-18-2004 at 05:25 PM.
 
Old 04-19-2004, 01:11 AM   #7
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
You shouldn't probably edit your xinetd.conf file at all. The /etc/xinetd.d directory contains service scripts for xinetd, and that's what you want to create.

Remove your changes from the xinetd.conf file and get started on one. I don't run proftpd from xinetd (I have it running as a daemon instead), but this is the Gentoo xinetd script for proftpd. It should be enough to get you started:
Code:
#
# ProFTPd FTP daemon - http://www.proftpd.org
#
service ftp
{
       flags            = REUSE
       socket_type      = stream
       instances        = 30
       wait             = no
       user             = root
       server           = /usr/sbin/proftpd
       log_on_success   = HOST PID
       log_on_failure   = HOST
       disable          = yes
}
You will need to set "disable = no" in order for it to work. Also verify that the path (/usr/sbin/proftpd) is valid, or change it so it matches your own setup.


Håkan
 
  


Reply



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
Fedora Core 2 etc/rc.d/inetd.conf equivilent (networking issues) redness Linux - Networking 0 01-02-2005 06:57 AM
convert from inetd.conf to xinetd.conf linuxturtle Linux - Networking 7 11-12-2003 04:23 AM
inetd.conf yet again cli_man Linux - Software 4 03-02-2003 01:14 PM
inetd.conf cambo Linux - Networking 2 08-06-2002 03:15 AM
where is my /etc/inetd.conf ?? g00fy_m Linux - General 6 05-04-2002 08:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration