1846877 Members
4088 Online
110256 Solutions
New Discussion

Telnet problem

 
M.sureshkumar
Regular Advisor

Telnet problem

Hi Guys,
I installed Tcp-wrapper 7.6 in my unix sever,after installation i add /usr/lbin/tcpd entries in inetd.conf file and i restart inetd sevices.Any one is working at a time.without banner, tcp wrapper is working fine.without tcp wrapper,banner is working fine.both are not working at a time.i am giving my original inetd.conf file and my used inetd.conf options are given below.

Original File:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/banner

used options are,
1.telnet stream tcp nowait /usr/lbin/tcpd /usr/lbin/telnetd telnetd -b /etc/banner
2.telnet stream tcp nowait /usr/lbin/tcpd telnetd -b /etc/banner
3.telnet stream tcp nowait /usr/lbin/telnetd telnetd -b /etc/banner /usr/lbin/tcpd
how to set both tcpd and telnetd options in inetd.conf file.please guide me.

Thanks,
Sureshkumar.
5 REPLIES 5
Muthukumar_5
Honored Contributor

Re: Telnet problem

Suresh,

try as,

1.telnet stream tcp nowait /usr/lbin/tcpd /usr/lbin/telnetd telnetd -b/etc/banner
2.telnet stream tcp nowait /usr/lbin/tcpd telnetd -b/etc/banner
3.telnet stream tcp nowait /usr/lbin/telnetd telnetd -b/etc/banner /usr/lbin/tcpd

wherere,

-b/etc/banner without space there.
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Telnet problem

First option as,

telnet stream tcp nowait /usr/lbin/tcpd /usr/lbin/telnetd telnetd -b/etc/banner

is correct to combine tcp wrapper and telnetd there. Banner file will be defined with out space.

telnetd man page says asm
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b/etc/issue

Easy to suggest when don't know about the problem!
M.sureshkumar
Regular Advisor

Re: Telnet problem

Hi Muthukumar,
I used your all options,but only banner is working.tcpd is not working.
Bharat Katkar
Honored Contributor

Re: Telnet problem

"I have assigned points to 6 of 119 responses to my questions." in your profile

Take some time and assign points to all those who have helped.
You need to know a lot to actually know how little you know
Muthukumar_5
Honored Contributor

Re: Telnet problem

You missed root setting on telnetd. try as,

telnet stream tcp nowait root /usr/local/bin/tcpd /usr/lbin/telnetd telnetd -b/etc/banner

I tried this and working here.

Is it working now. there? I am not sure with tcp wrapper problem there.

Note: Try to fix bharat's query.
Easy to suggest when don't know about the problem!