- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rlogin with out password for root login proble...
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
Discussions
Discussions
Forums
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
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
тАО05-21-2009 05:33 AM
тАО05-21-2009 05:33 AM
i want to rlogin some hp-ux server (server1 - 10.250.0.1) from some hp-ux server (work1 - 10.250.0.120) with out prompting for passwords.
I have created the entry in /root/.rhosts of "server1" for "work1".
Ex: in server1
# vi /root/.rhosts
work1 root
work2 root
work3 root
#vi /etc/hosts
10.250.0.120 work1
10.250.0.121 work2
10.250.0.122 work3
So I think that i have made necessary entries in server1 for allowing work1 to login to server1 thru rlogin with out prompting for password.
The problem is that i am getting prompt for password when i try to rlogin from work1 as root user to server1.
But i am able to rlogin to server1 from work2 and work3 as root user with out prompting for password.
How to solve this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 05:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 05:38 AM
тАО05-21-2009 05:38 AM
Re: rlogin with out password for root login problem
If your .rhosts file is correct - and it looks ok above. Maybe your issue is resolution. Is your /etc/host file the same on both boxes?
Try doing nslookup reverse lookups on both boxes and see if you get the same results.
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 05:42 AM
тАО05-21-2009 05:42 AM
Re: rlogin with out password for root login problem
tail -f /var/adm/syslog/syslog.log
and watch the log to see what's happening during your rlogin attempt. You might see the reason for denial of your passwordless login.
Also, not to demonize you but, rlogin being as insecure as it is, consider switching to ssh for passwordless logins, using trusted key pairs.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 05:49 AM
тАО05-21-2009 05:49 AM
Re: rlogin with out password for root login problem
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 02:10 AM
тАО05-28-2009 02:10 AM
Re: rlogin with out password for root login problem
This is a simple setup.
You only have to create the rhosts file is the home directory of the user.
You file should look like this:
more .rhosts
"full qualified name" user
I think your problem is not to use the full qualified name.
Try also with the ip name
more .rhosts
"ip_of_the_server" user
If you continue with problems please reply.
And assigne some points !! ..
Regards !! ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 02:28 AM
тАО05-28-2009 02:28 AM
Re: rlogin with out password for root login problem
Remember that root home directory shuld be the same for all the servers to do rlogin.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2009 09:57 AM
тАО06-25-2009 09:57 AM
Re: rlogin with out password for root login problem
I am closing this thread.