I am using RedHat Linux. Let me show the contents of the necessary
files to you and then ask my question.
----------------
File: /etc/xinetd.d/telnet (contents below)
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
----------------
File: /etc/xinetd.d/krb5-telnet (contents below)
# default: off
# description: The kerberized telnet server accepts normal telnet
sessions, \
# but can also use Kerberos 5 authentication.
service telnet
{
disable = yes
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/kerberos/sbin/telnetd
log_on_failure += USERID
}
----------------
Output of ipconfig -L:
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT all -- anywhere anywhere state
RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state
NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-
with icmp-host-prohibited
----------------
I have tried all of the following commands:-
1. chkconfig krb5-telnet off
2. chkconfig krb5-telnet on
3. /etc/init.d/xinetd restart
----------------
But when I try to telnet into the box from the same machine or a
remote machine, I get the following error.
# telnet localhost
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.
----------------
Can anyone suggest me where I might be making a mistake? Please help
me because I am new to Linux. I would appreciate any guidance from
the members.
------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/NhFolB/TM
--------------------------------------------------------------------~->
=====================================================
To know more about TWINCLING Society
http://www.twincling.org/
OpenSSL - PKI & Digital Certificates
Mark your calendar for the TSM
Saturday 5pm on 15th July 2006
Venue:
CommVault Systems Pvt Ltd
5th Floor, Conference Room
Ashok Janardhan Chambers
1-10-72, S.P. Road
Begumpet
Hyderabad - 500016
Helpline:
+91 - 99499 91585
+91 - 99496 50605
=====================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/twincling/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/