newbie
Hi,
I want users to be able to telnet into my linux box. So I did
#>chkconfig telnet on
and added in /etc/hosts.allow
in.telnetd: ALL: ALLOW
then
#>/etc/rc.d/init.d/xinetd restart
I was unable to telnet into the box:
It says connection refused, it does't even come
until login prompt. So I think telnetd is not
configured properly. So what is wrong in above
process???
Regards
Venkat.
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
Quoted 6 lines · Venkat Raghu
Hi,
I want users to be able to telnet into my linux box. So I did
#>chkconfig telnet on
Quoted 7 lines
and added in
/etc/hosts.allow
in.telnetd: ALL: ALLOWthen
#>/etc/rc.d/init.d/xinetd restartI was unable to telnet into the box:
Have a look in /etc/xinetd.d directory
You need to go into /etc/xinetd.d/ and edit telnet. It has one parameter disable = yes, change that to no then restart xinetd. I don't think that chkconfig will handle services within xinetd's realm.
Quoted 24 lines · Venkat Raghu
Hi,
I want users to be able to telnet into my linux box. So I did
#>chkconfig telnet onand added in
/etc/hosts.allow
in.telnetd: ALL: ALLOWthen
#>/etc/rc.d/init.d/xinetd restartI was unable to telnet into the box:
It says connection refused, it does't even come
until login prompt. So I think telnetd is not
configured properly. So what is wrong in above
process???Regards
Venkat.
Quoted 8 lines
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
---end quoted text---
Signature · 4 lines
| Richard Nairn Specializing in Linux | Nairn Consulting Web / Database Solutions | Calgary, AB | [email protected]
Quoted 5 lines · Richard Nairn
You need to go into
/etc/xinetd.d/and edit telnet. It has one parameter disable = yes, change that to no then restart xinetd. I don't think that chkconfig will handle services within xinetd's realm.
Quoted 12 lines
Quoted 11 lines · Venkat Raghu
Hi,
I want users to be able to telnet into my linux box. So I did
#>chkconfig telnet onand added in
/etc/hosts.allow
in.telnetd: ALL: ALLOWthen
#>/etc/rc.d/init.d/xinetd restart
A couple of things. "chkconfig telnet on" does update /etc/xinetd.d/telnet parameter "disable = yes" to "disable = no" and restarts xinetd automagically.
I really think his issue is the default firewall config for the host.
If "telnet localhost" works from that host, that is the most likely cause.
"netstat -an | grep -i listen" should report something like
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
He might try "service ipchains stop" and test the telnet connection then.