PDA

View Full Version : inetd.conf WITHOUT tcpd, impossible or what?



FZ
06-05-2003, 08:18 PM
Hi,

I can use my Knoppix live cd for telnetting, ftp'ing to localhost w/o problems using the default
inetd.conf file which contains lines like:



ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.ftpd
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd


However when I disable tcpd and try to use the barebone telnetd, ftpd, etc. using the
following configuration I cannot telnet or ftp to myself:



ftp stream tcp nowait root /usr/sbin/in.ftpd
telnet stream tcp nowait root /usr/sbin/in.telnetd


I rerun the inetd and then try to telnet to receive this response:



knoppix@ttyp4[knoppix]$ telnet localhost
Trying 127.0.0.1...
Connected to Knoppix.
Escape character is '^]'.
Connection closed by foreign host.


As you see, when I'm not using tcpd it just automatically disables telnet, ftp, etc. I've tried it
hosts.allow, hosts.deny, I've also tried it w/o these files. Nothing changes.

Is it impossible to use inetd without tcpd on Knoppix? If it is possible, how?

Thanks in advance.