[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 317
  • Last Modified:

RHEL3: All users can SSH into box fine, but some cant telnet

I have a RHEL3 box. I only have 2 users setup on this box in addition to root:

user1
user2

User1 can SSH and telnet into the box. This user is a part of the "root" group.
User2 can SSH but not telnet into the box. This user is also a part of the "root" group. I get the following error:

login: User2
Password for User2:
login: Cannot resolve network address for KDC in requested realm while getting initial credentials
Login incorrect

I am positive that the password typed is correct. Why can't user2 telnet in?

Thanks!
0
bfilipek
Asked:
bfilipek
  • 2
2 Solutions
 
ravenplCommented:
> login: Cannot resolve network address for KDC in requested realm while getting initial credentials
have the source IP (from which user2 is logining in) reverse dns entry (accessible from the RHEL3 box?)
0
 
NopiusCommented:
You are using kerberized telnet daemon.
If you have no kerberos authentication, you may turn it off:

file /etc/xinetd.d/telnet

add line:

server_args = -a off

below server = ...
0
 
NopiusCommented:
also you may use non-kerberized telnet daemon without adding '-a off' argument, just change 'server =' option:
/usr/sbin/in.telnetd
instead of
/usr/kerberos/sbin/telnetd

0
 
rindiCommented:
Anyway, why do you want to use telnet in the first place since you have SSH? SSH is much better and securer than telnet. If I were you I'd completly disable telnet and just use SSH.
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now