LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-10-2003, 11:37 PM   #1
linuxturtle
Member
 
Registered: Apr 2002
Posts: 36

Rep: Reputation: 15
convert from inetd.conf to xinetd.conf


These are a few lines from an old inetd.conf:
Code:
#
# modem daemon
#
modem stream tcp nowait root /usr/sbin/tcpd /usr/sbin/modemd /dev/ttyS1
I want to convert this to xinetd.conf. I have this so far:

Code:
service modemd
{
        
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = modemd
        server          = /usr/sbin/modemd
        
}
I still need to add "/usr/sbin/tcpd" and "/dev/ttyS1" paramaters. This is where I am stuck.

Any help would greatly be appreciated.

Thanks in advance.
 
Old 11-11-2003, 01:20 AM   #2
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
Why move to xinetd ??
 
Old 11-11-2003, 03:18 AM   #3
linuxturtle
Member
 
Registered: Apr 2002
Posts: 36

Original Poster
Rep: Reputation: 15
Im using redhat 9.0. There is no inetd only xinetd.
 
Old 11-11-2003, 11:24 AM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
The main reason to switch is that xinetd is more secure.

An Unofficial Xinetd Tutorial

/usr/sbin/xconv.pl < /etc/inetd.conf > /tmp/xinetd.conf
 
Old 11-11-2003, 11:35 AM   #5
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
PS. There is also a xconv-new.pl script. I don't know the difference between the two.
 
Old 11-11-2003, 06:20 PM   #6
linuxturtle
Member
 
Registered: Apr 2002
Posts: 36

Original Poster
Rep: Reputation: 15
Does some one have an answer or no?
 
Old 11-11-2003, 09:43 PM   #7
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
I thought I answered your question.

/usr/sbin/xconv.pl < /etc/inetd.conf > /tmp/xinetd.conf
 
Old 11-12-2003, 05:23 AM   #8
linuxturtle
Member
 
Registered: Apr 2002
Posts: 36

Original Poster
Rep: Reputation: 15
sorry didnt see that line there just read the security bit before the link... my bad
 
  


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
Where is inetd.conf....? vous Mandriva 5 02-15-2005 04:18 PM
where's my inetd.conf? Jan Tanjo Linux - Networking 4 12-20-2004 11:28 PM
inetd.conf cambo Linux - Networking 2 08-06-2002 04:15 AM
Where has inetd.conf gone? Grum Linux - General 1 05-13-2002 09:04 PM
where is my /etc/inetd.conf ?? g00fy_m Linux - General 6 05-04-2002 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:12 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration