LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-08-2010, 05:30 AM   #1
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Rep: Reputation: 36
Not able to login using telnet.


I was just checking the configuration file of /etc/xinetd.d/krb5-telnet and i thought of enabling the telnet.
I modified the configuration file accordingly and restarted the server.
Code:
# cat /etc/xinetd.d/krb5-telnet
# default: off
# description: The kerberized telnet server accepts normal telnet sessions, \
# but can also use Kerberos 5 authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/kerberos/sbin/telnetd
log_on_failure += USERID
disable = no
}
Now i can able to telnet to the server from any other machine But the problem is it is not allowing me to login with correct root credentials.

What could be the issue here?

I m able to login with ssh protocol.
 
Old 09-08-2010, 05:33 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Quote:
Originally Posted by pinga123 View Post
I was just checking the configuration file of /etc/xinetd.d/krb5-telnet and i thought of enabling the telnet.
I modified the configuration file accordingly and restarted the server.
Code:
# cat /etc/xinetd.d/krb5-telnet
# default: off
# description: The kerberized telnet server accepts normal telnet sessions, \
# but can also use Kerberos 5 authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/kerberos/sbin/telnetd
log_on_failure += USERID
disable = no
}
Now i can able to telnet to the server from any other machine But the problem is it is not allowing me to login with correct root credentials.

What could be the issue here?

I m able to login with ssh protocol.
By Default root user can't login in krb5-telnet.

Are you able to login in normal user?
 
1 members found this post helpful.
Old 09-08-2010, 05:40 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
First, telnet is insecure, and allowing root login, is just plain stupid.
Use su or sudo, and even better, use ssh.

However, you need to allow access to the terminal that telnet uses for root
Add the following lines to
Quote:
/etc/securetty
Quote:
pts/0
pts/1
pts/2
pts/3
pts/4
pts/5
pts/6
pts/7
pts/8
pts/9

Kind regards
 
1 members found this post helpful.
  


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 login? redss Slackware 3 01-27-2010 09:07 PM
telnet login vinaytp Linux - Newbie 17 12-16-2009 12:05 AM
Telnet Login _ AsiF Linux - Networking 8 01-10-2008 07:50 PM
remote login via telnet metric_electric Linux - Security 5 06-03-2005 04:24 PM
no login prompt in telnet bilal.shaikh Linux - Newbie 1 11-13-2003 01:02 PM


All times are GMT -5. The time now is 05:01 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration