- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Rlogin does not work
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
01-02-2003 09:10 PM
01-02-2003 09:10 PM
Rlogin does not work
Although I have rhosts/hosts.equiv entries on NodeA for the NodeB. I tried to "rlogin NodeA" from NodeB and it asked password.
Any clue or work arround ?
Thanks
Nisar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2003 09:26 PM
01-02-2003 09:26 PM
Re: Rlogin does not work
1. Check the nslookup of the ip address of the remote host.
Enter the exact output on the hosts.equiv or .rhosts file.
2. check the file permissions.
~/.rhosts has to be owned by the users and read+write to owner only.
3. /etc/hosts.equiv has to be owned by root and rw to root only.
Srini.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2003 09:32 PM
01-02-2003 09:32 PM
Re: Rlogin does not work
login stream tcp nowait root /usr/lbin/rlogind rlogind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2003 09:33 PM
01-02-2003 09:33 PM
Re: Rlogin does not work
When you use nslookup, look both ways. That is, use nslookup NodeB and then nslookup 12.34.56.78 (whatever IP address). Each lookup must match both directions.
.rhosts must be 600 permissions. /etc/hosts.equiv is a pretty serious security risk since a single + character in that file allows every computer on your network to rlogin/remsh/rcp without a password.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2003 09:42 PM
01-02-2003 09:42 PM
Re: Rlogin does not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2003 11:16 PM
01-02-2003 11:16 PM
Re: Rlogin does not work
U can check rhost/hosts.equiv and put ip address with node name also.
Thanks
Ajay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2003 01:33 AM
01-03-2003 01:33 AM
Re: Rlogin does not work
1) Certify "read" privileges to .rhost file ubicated in home directory of the target user. To make a test try set 444 privilege.
2) From target node use nslookup to obtain exact name resolution of the source node, then use this resolution name inside .rhosts file.
3) Certify that target host haven't a "shell" deny entry or allow filter inside of /var/adm/inetd.sec
4) Certify that target user haven't password expiration (important).
5) Remember that you must use in source node command the existent user in target node, sometimes this is confused for the user.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2003 07:01 AM
01-03-2003 07:01 AM
Re: Rlogin does not work
First, someone mentioned the permissions on the .rhosts file in a users home.
Make sure that $HOME/.rhosts is always set to 0400.
For /etc/hosts.equiv, this file needs to be set to 0444.
Next, to debug your problem, make sure you are resolving exactly the name listed in the $HOME/.rhosts or /etc/hosts.equiv. If you are using DNS, NIS, and files ensure that the nsswitch.conf is correct, and that the resolver can resolve the same name with the same source.
Best check is to telnet to the box, then type who -u. Ensure that the seat listed is the same you have in $HOME/.rhosts and/or /etc/hosts.equiv.
Next, ensure that the FIRST mechanism for resolving hosts has the same hostname as listed.
Sometimes in strange environments, I have had to list both real and fully qualified hostnames in the $HOME/.rhosts and /etc/hosts.equiv. 99% of the time though, it is just a matter of pointing to the correct resolver first.
Regards,
Shsnnon