rlogin help!


 
Thread Tools Search this Thread
Operating Systems Solaris rlogin help!
# 8  
Old 10-30-2009
You have to check the hosts file on the rsh server side, not only on the client one.
More generally, the hosts must be correctly set in a configured backend database, that might be files, DNS, NIS, ldap depending on the configuration. Nothing ugly there.

Weak permissions on hosts.equiv (not sure about .rhosts) might also cause the issue.

In any case, rlogin is doomed and ssh should be installed and used instead.
# 9  
Old 10-30-2009
Well, these two are test systems. I installed the OS myself on them. They have only ldap. The DNS and NIS are not set-up or configured! Could that be a reason?
# 10  
Old 10-30-2009
They don't have only ldap, they likely also have local files set for naming backend databases.

Missing client entry in the problem server might indeed be a reason why rlogin prompts for a password.
# 11  
Old 10-30-2009
Alright. Thanks jlliagre. I've got to check thoroughly then, after I get back to work.

---------- Post updated 10-30-09 at 10:33 AM ---------- Previous update was 10-29-09 at 08:54 PM ----------

/etc/hosts.equiv, .rhosts all have the network info, they look fine but system1 is still asking for a passwd from system2 if I do rlogin. I'm stuck and don't know how to proceed from here!
# 12  
Old 10-30-2009
When logged from system2 to system1, run the "who am i" command and post its output.
# 13  
Old 10-30-2009
Code:
root pts/5 Oct 30 13:11 (system2)



---------- Post updated at 12:16 PM ---------- Previous update was at 12:15 PM ----------

Is it supposed to show system1 because I remotely logged into system1??
Even from system1, If I rlogin to system2 I get similar info

Code:
root pts/5 Oct30 13:11 (system1)

# 14  
Old 10-31-2009
Maybe you have something in /etc/nsswitch.conf file?.. Please post it's content
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

rlogin,telnet-different or same?

Hai guys, Both "rlogin" and "telnet" are used to login remote host.Is there any differece between these 2 commands? (or) are both same? Thanks (1 Reply)
Discussion started by: Felicia23
1 Replies

2. Shell Programming and Scripting

rlogin

Hi all, i need to remotely execute a couple of commands on anyother server, but rsh is not allowed. for that matter i am bound to use rlogin. so what i am trying to do in the script is : 1) rlogin asad 2) Wait for Login prompt 3) Waiting for Password Prompt 4) Once authenticated, execute... (4 Replies)
Discussion started by: asadlone
4 Replies

3. UNIX for Advanced & Expert Users

problem in rlogin

Dear Experts, i want to make one script ,by running that script it should rlogin from one mashine to another and the username and passord should be in the script so that it could not ask from me the username and password of another machine from me . please help me out. Regards, SHARY (1 Reply)
Discussion started by: shary
1 Replies

4. UNIX for Dummies Questions & Answers

Rlogin

i got a dout in rlogin . whether rlogin is same as telnet (1 Reply)
Discussion started by: shanmugam
1 Replies

5. UNIX for Dummies Questions & Answers

rlogin issues

hi i got 3 boxes, boxA, boxB, boxC i can do the below boxA> ufsdump 0fu boxB:/mydirectory/myfile /myfile boxA> rlogin boxB is okay but when i do the below boxA> ufsdump 0fu boxC:/mydirectory/myfile /myfile, system says error, boxA> rlogin boxC got error on... (5 Replies)
Discussion started by: yls177
5 Replies

6. IP Networking

rlogin problem

On the HP-UX hostA, the command rlogin hostB generates the error "rlogind: Host address mismatch" even though the hostname & IP of hostA are defined in the .rhosts file and the /etc/hosts files of hostB respectively. The IP and the hostname of hostB are defined in the /etc/hosts file of hostA. (1 Reply)
Discussion started by: vijaysharma.vs
1 Replies

7. Cybersecurity

not allow rlogin

does anyone know how to stop rlogin to my sunsolaris so I have 2 machines...I can not telnet one becouse that is not allowed but I can telnet the other and do rlogin to first one..I want to stop that.. so.. telnet A from C machine - works telnet B from C machine - does not work but... (3 Replies)
Discussion started by: amon
3 Replies

8. Shell Programming and Scripting

rlogin

I'm comparing a table from two databases on two different servers to check for equality. 1. How do I use rlogin from a script , is it like this ? rlogin -l $username $server1 where $username and $server1 are passed from the command line. 2.create a copy of that table, compress it and... (3 Replies)
Discussion started by: seaten
3 Replies

9. UNIX for Dummies Questions & Answers

rlogin

Hi, I have a script and need to use rlogin to access "server1". As there will be different servers used and there will be different usernames and passwords. Is it possible to pass the server name, username and password as arguments on the command line and the script work from there. ... (2 Replies)
Discussion started by: seaten
2 Replies

10. UNIX for Dummies Questions & Answers

Rlogin???

From any computer on our network when you rlogin into one machine (this only happens on this machine) it'll hang for about 3 minutes before loggin into that machine. If your sick of waiting you can do a <ctrl> C and then it'll rlogin into the machine it is meant to BUT it wont keep the shell... (1 Reply)
Discussion started by: merlin
1 Replies
Login or Register to Ask a Question