Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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

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.??

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

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 userFor 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 .rhostsif 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

![]() |
what and how to chown?
|
Srewed up bigtime!
|

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