GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rlogin problem
Operating System - HP-UX
1849272
Members
5515
Online
104042
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-22-2002 02:26 AM
01-22-2002 02:26 AM
rlogin problem
Hi,
We have a setup of 7 HP9000 systems. In that system ONE is exporting home filesystem(all users home directories) and all the other systems are mounting that. Also the /etc/passwd file for all the systems is same.
So whenever a user is logging in any of the system he is getting into the same home directory(becos. of NFS mounts).
All the users have a .rhosts file in their respective home directories with the entry of "+ +". Becos. of this entry, all the users are able to rlogin from their current system to the remaing systems without any authentication.
Now for the last one week, from System ONE rlogin is not happening to System TWO for any user. Its giving the following error,
"rlogind:Host address mismatch".
At the same time all the users from System ONE is able to rlogn to the systems(except System TWO).
Similarly users from other systems are able to rlogin to System TWO without any problem.
Importantly all users from System TWO are able to do rlogin to System ONE. From System ONE name resolution had been checked(nslookup using /etc/hosts from local system).
When we remove the .rhosts entry from a users home directory, rlogin is happening from ONE to TWO for that particular user with authentication.
Could someone help me on resolving this problem.
Thanks and Regards,
Shyam
We have a setup of 7 HP9000 systems. In that system ONE is exporting home filesystem(all users home directories) and all the other systems are mounting that. Also the /etc/passwd file for all the systems is same.
So whenever a user is logging in any of the system he is getting into the same home directory(becos. of NFS mounts).
All the users have a .rhosts file in their respective home directories with the entry of "+ +". Becos. of this entry, all the users are able to rlogin from their current system to the remaing systems without any authentication.
Now for the last one week, from System ONE rlogin is not happening to System TWO for any user. Its giving the following error,
"rlogind:Host address mismatch".
At the same time all the users from System ONE is able to rlogn to the systems(except System TWO).
Similarly users from other systems are able to rlogin to System TWO without any problem.
Importantly all users from System TWO are able to do rlogin to System ONE. From System ONE name resolution had been checked(nslookup using /etc/hosts from local system).
When we remove the .rhosts entry from a users home directory, rlogin is happening from ONE to TWO for that particular user with authentication.
Could someone help me on resolving this problem.
Thanks and Regards,
Shyam
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 02:39 AM
01-22-2002 02:39 AM
Re: rlogin problem
Hi,
Just a hunch. Check the reverse IP lookup for the IP addresses on both servers.
Is both the reverse IP resolution and forward name resolution on both systems in sync?
Hope this helps. Regards.
Just a hunch. Check the reverse IP lookup for the IP addresses on both servers.
Is both the reverse IP resolution and forward name resolution on both systems in sync?
Hope this helps. Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 02:41 AM
01-22-2002 02:41 AM
Re: rlogin problem
Hi,
looks like hostname or ip of system 2 has been changed, check the /etc/passwd and /etc/group files in system 2 whether they have +:: entry.
if not, make this entry.
looks like hostname or ip of system 2 has been changed, check the /etc/passwd and /etc/group files in system 2 whether they have +:: entry.
if not, make this entry.
never give up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 09:48 AM
01-22-2002 09:48 AM
Re: rlogin problem
Shyam,
Fix for this issue is in 11.0 r-commands patch PHNE_21731 or better on the "target" box; but you might as well patch 'em all.
After install the patch, add the -s flag to the end of the /etc/inetd.conf entries for login and shell, and run inetd -c to tell inetd to re-read the config files.
By the way, a .rhosts file as you describe is a grave security risk. Instead you should /etc/hosts.equiv to list the trusted hosts from which all users are allowed access, and make that /etc/hosts.equiv the same on all of the HP's. If you need a .rhosts for root, you should make /.rhosts read
hosta root
hostb root
hostc root
...
and make /.rhosts owned by root, and permissions 400.
Hope this helps,
-> Brian Hackley
Fix for this issue is in 11.0 r-commands patch PHNE_21731 or better on the "target" box; but you might as well patch 'em all.
After install the patch, add the -s flag to the end of the /etc/inetd.conf entries for login and shell, and run inetd -c to tell inetd to re-read the config files.
By the way, a .rhosts file as you describe is a grave security risk. Instead you should /etc/hosts.equiv to list the trusted hosts from which all users are allowed access, and make that /etc/hosts.equiv the same on all of the HP's. If you need a .rhosts for root, you should make /.rhosts read
hosta root
hostb root
hostc root
...
and make /.rhosts owned by root, and permissions 400.
Hope this helps,
-> Brian Hackley
Ask me about telecommuting!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP