LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-02-2007, 08:20 AM   #1
max-
LQ Newbie
 
Registered: Sep 2007
Posts: 8

Rep: Reputation: 0
Arrow telnet not working RHEL 5


hi everybody

i m not able to telnet to RHEL 5 from Putty software
plz help me ..

thx
 
Old 09-02-2007, 08:26 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE, Xubuntu
Posts: 1,760

Rep: Reputation: 80
If your trying to connect as root, read this:

http://www.linuxquestions.org/questi...1&postcount=10
 
Old 09-02-2007, 08:41 AM   #3
max-
LQ Newbie
 
Registered: Sep 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bsdunix View Post
If your trying to connect as root, read this:

http://www.linuxquestions.org/questi...1&postcount=10
hi
1) what is did is after editing /etc/pam.d/login

#%PAM-1.0
auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so
#auth include system-auth
account required pam_nologin.so
account include system-auth
password include system-auth
# pam_selinux.so close should be the first session rule
session required pam_selinux.so close
session include system-auth
session required pam_loginuid.so
session optional pam_console.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session required pam_selinux.so open
session optional pam_keyinit.so force revoke

2) after that i executed it showed me this error
[root@localhost ~]#chkconfig --level 345 telnet on
error reading information on service telnet: No such file or directory
[root@localhost ~]#

3)i reinstalled package of telnet & xinetd

still problem presist

thx
 
Old 09-02-2007, 11:28 AM   #4
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE, Xubuntu
Posts: 1,760

Rep: Reputation: 80
How do I turn Telnet on for a Red Hat Enterprise Linux system?
http://kbase.redhat.com/faq/FAQ_80_1873.shtm

If your attempting to have root use telnet, DON'T!

Telnet is not secure, if you do, then anyone sniffing your traffic will pickup passwords in plain text. If you need to do remote work with root privileges, then use SSH.
 
Old 09-02-2007, 02:01 PM   #5
max-
LQ Newbie
 
Registered: Sep 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Question

hi
when i go to /etc/xinetd.d/ .
there is no file such as telnet.
instead of telnet there is another file known as ekrb5-telnet & krb5-telnet.

i know that telnet is not secure. just i want to know how it works.

even if i chkconfig --list telnet . it prompts there is no such file.

thx
 
Old 09-03-2007, 01:45 AM   #6
max-
LQ Newbie
 
Registered: Sep 2007
Posts: 8

Original Poster
Rep: Reputation: 0
hi

i m not able to solve it .
plz help me.

thx
 
Old 09-03-2007, 08:05 PM   #7
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE, Xubuntu
Posts: 1,760

Rep: Reputation: 80
Did you read the link I provided? It explains how to get the necessary packages and setup telnet.

Your using an "enterprise" distribution, surely Red Hat has tech support available if your having problems.
 
Old 09-06-2007, 08:43 AM   #8
max-
LQ Newbie
 
Registered: Sep 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Hi,
i was able to solve it.

for RHEL 5
Packages needed : telnet,xinetd,telnet-server

#chkconfig telnet on
#chkconfig xinetd on

we need to edit /etc/pam.d/login
comment # first line

we need to edit /etc/pam.d/remote
comment # first line

restart the services
service xinetd restart
service network restart

it works perfectly..

thx for ur support my friend.
 
Old 09-07-2007, 10:27 AM   #9
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE, Xubuntu
Posts: 1,760

Rep: Reputation: 80
Glad to hear you got it working.

Just remember telnet is insecure and passwords are sent in plain text.
 
Old 09-10-2007, 05:53 AM   #10
max-
LQ Newbie
 
Registered: Sep 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bsdunix View Post
Glad to hear you got it working.

Just remember telnet is insecure and passwords are sent in plain text.

Hi,

Thx 4 ur support .<

Thx & regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enable telnet in RHEL 4 deepclutch Linux - Enterprise 9 10-18-2008 05:26 AM
can't get Kerberos telnet daemon running on RHEL 3 nickgarnett Linux - Networking 0 11-21-2006 04:58 PM
Telnet on RHEL 4 managed.service Linux - Enterprise 2 04-25-2005 09:00 AM
Telnet not working mavles Linux - Networking 5 01-07-2005 01:31 AM
telnet is not working JackDante Linux - Newbie 16 08-04-2004 03:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration