- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rlogin issue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 09:38 PM
04-20-2006 09:38 PM
Hi
I am login in to A ans sud to root.
All the servers have .rhosts file and carries the host name and root entry for the others.
I can rlogin from A to B and C.
I can rlogin from C to B.
But the rlogin attempt from B to C is asking for password.
Please help me how to come out of this.
thanks.
s.o
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 09:47 PM
04-20-2006 09:47 PM
Re: rlogin issue
Please check for the permission and contents of .rhosts file on server C.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 09:47 PM
04-20-2006 09:47 PM
Re: rlogin issue
Check the .rhost file in machine C. It should have a corresponding entry for machine B.
IF still pbm exist, post the error message and as well as the rhost relavant syslog messages.
HTH,
Prabu.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 10:06 PM
04-20-2006 10:06 PM
SolutionWhen I run into such problems, this is how I troubleshoot.
From B, do plain telnet to C. Login with user_id and pass. Once logged on, do who -um
Not down the ip_address/hostname in the last column of above command. What you see here should exactly be in .rhosts file on C server in Home dir. Exact same name/ip you see in who -um and nothing else.
.rhosts would look like follows.
ip/hostname_from_who -um "user_name_you_will_be_using"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 10:54 PM
04-20-2006 10:54 PM
Re: rlogin issue
The solution given by RAC worked in the first attempt itself.Could you please explain why is it so?
Points have been assigned to all.
Thanks again
S.O
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 11:00 PM
04-20-2006 11:00 PM
Re: rlogin issue
It could be due to hostname resolve issues from B to C.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2006 11:50 PM
04-20-2006 11:50 PM
Re: rlogin issue
Now how is this performed? Well, if you remove /etc/resolv.conf from the remote machine then the hosts file is all there is and it must contain both the IP and hostname of the incoming machine. And of course, the .rhosts file must also have the remote computer's name and/or the IP address.
DNS gets more complicated, mostly because DNS is often handled by Windows admins and fail to create reverse IP lookups and MX records. If DNS is used on the remote system, you must test the .rhosts file by using nslookup to lookup the IP address and also the hostname -- both queries must match.
And finally, .rhosts must always be 600 (-rw-------) permission. Never allow .rhosts files to be read by anyone except the owner. And /etc/hosts.equiv is quite dangerous as it defines a .rhosts file for every user on the system.
That said, if these systems are important, consider installing ssh from HP and shutting down all the r-services for security.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2006 12:04 AM
04-21-2006 12:04 AM
Re: rlogin issue
points have been assigned.
Thanks again.
S.O