Computing.Net > Forums > Linux > Telnet and RSH Problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Telnet and RSH Problem

Reply to Message Icon

Name: turtle408
Date: June 7, 2007 at 11:45:57 Pacific
OS: RHEL 4.0 Redhat
CPU/Ram: 2.0
Product: Dell
Comment:

I can able to login as root by SSH, But not by RSH or telnet. I enabled krb5-Telnet and klogin to disable = no
I restrted the XINETD.
Error Message :

login: root
Password for root:
Login incorrect
Connection closed by foreign host.

Password works fine with SSH but not with Telnet or Rsh
Rlogin Error:
[root@rhel40] # rlogin localhost
Trying krb4 rlogin...
krb_sendauth failed: You have no tickets cached
trying normal rlogin (/usr/bin/rlogin)

Please can some one help me.


System Admin



Sponsored Link
Ads by Google

Response Number 1
Name: ernie
Date: June 7, 2007 at 12:14:35 Pacific
Reply:

I do not use any of these, and I may be of
little help, but I have to ask this: SSH is
a secure method of connecting to a remote
computer. Telnet and RSH are much less
secure to the point that they are regarded
by many as truly insecure. When used on a
tightly secured LAN, they may be of limited
usefulness, but I would not recommend their
use in any other situation. Why would you
need or want to use either of them,
especially to perform administrative tasks?
If system security is of any importance at
all, I suggest you stick with using SSH to
log in as root.

My 2 cents,

Ernie Registered Linux User 247790
ICQ 41060744


0

Response Number 2
Name: haroldw
Date: June 8, 2007 at 07:50:12 Pacific
Reply:

Have you started the rsh and telnet services? They are separate services, not included in xinetd.


0

Response Number 3
Name: turtle408
Date: June 11, 2007 at 11:01:03 Pacific
Reply:

Thanks for your response guys. I checked the services, RSH and Telnet are up and running. I disables kerberos and tried the same error. Any other solution.??


0

Response Number 4
Name: atulit
Date: June 11, 2007 at 21:24:57 Pacific
Reply:

If telnet/rsh services are up, then u try to login as user and then use su to login as root, do not log directly as root


0

Response Number 5
Name: Rashid Mustafa
Date: June 15, 2007 at 01:02:53 Pacific
Reply:

you can go directlly as root , no problem

thease telnet and rsh are diferent protocol, must have different problem.
For telnet as a root user in remote machine.

1>go to remote machine, login with any other user other then root, go with "su" to root.
2>#cd /etc
#mv securetty securetty.bak
#exit
now you can directlly login from root user

For RSH or RCP.
1>check rsh service is running or not through
#chkconfig rsh
if it on then
2>in remote machine some file should must have an entry of this machine name or IP, the file name are

#vi /etc/hosts
#vi /etc/hosts.equive
#vi /etc/hosts.equiv
#pwd
root
#vi .rhosts

if you need rsh for any user then you have to create .rhosts in there home directory and enter this machine IP.

Hopefully it will work, reply after doing the same.

regards
Rashid Mustafa


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

what and how to chown? Srewed up bigtime!



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Telnet and RSH Problem

telnet and ftp problem in slackware www.computing.net/answers/linux/telnet-and-ftp-problem-in-slackware/18946.html

Why Redhat 7.1 Telnet and FTP are not www.computing.net/answers/linux/why-redhat-71-telnet-and-ftp-are-not-/6039.html

New to Linux and mouse problem www.computing.net/answers/linux/new-to-linux-and-mouse-problem/27466.html