LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   convert from inetd.conf to xinetd.conf (https://www.linuxquestions.org/questions/linux-networking-3/convert-from-inetd-conf-to-xinetd-conf-114649/)

linuxturtle 11-10-2003 11:37 PM

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.

Bluesuperman 11-11-2003 01:20 AM

Why move to xinetd ??

linuxturtle 11-11-2003 03:18 AM

Im using redhat 9.0. There is no inetd only xinetd.

/bin/bash 11-11-2003 11:24 AM

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

/bin/bash 11-11-2003 11:35 AM

PS. There is also a xconv-new.pl script. I don't know the difference between the two.

linuxturtle 11-11-2003 06:20 PM

Does some one have an answer or no?

/bin/bash 11-11-2003 09:43 PM

I thought I answered your question.

/usr/sbin/xconv.pl < /etc/inetd.conf > /tmp/xinetd.conf

linuxturtle 11-12-2003 05:23 AM

sorry didnt see that line there just read the security bit before the link... my bad


All times are GMT -5. The time now is 08:42 PM.