- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- .rhosts, hosts.equiv
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
02-28-2006 02:52 PM
02-28-2006 02:52 PM
I have some questions about .rhosts and hosts.equiv...
1. What/who would need a .rhosts file?
2. Does ServiceGuard require a .rhosts file in /etc/cmcluster?
3. Does Data Protector require a .rhosts file in /root to execute pre/post exec commands on other boxes?
4. What should be in the hosts.equiv file?
I know the answer to these (well, except for a couple), but I'm seeing a few unusual entries that I think need pursuing. I'm just looking for confirmation...so please be gentle LOL
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 07:56 PM
02-28-2006 07:56 PM
Re: .rhosts, hosts.equiv
2 never seen it there
3 sorry I do not know.
4 man -k hosts.equiv
But what are the problems?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 08:06 PM
02-28-2006 08:06 PM
Re: .rhosts, hosts.equiv
1. What/who would need a .rhosts file?
This is required to enable remote acess, ie the hosts listed in the .rhosts can do rlogin without password.
2. Does ServiceGuard require a .rhosts file in /etc/cmcluster?
Yes. All nodes should have the other nodes list.
3. What should be in the hosts.equiv file?
This is similar to .rhosts, the difference is hosts.equiv is system wide but .rhosts can be maintained in each users home directory.
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 08:21 PM
02-28-2006 08:21 PM
Re: .rhosts, hosts.equiv
Shivkumar FYI,
Service guard does not require .rhosts to be there. Instead cmclnodelist file should be there in /etc/cmcluster having entries for all the nodes. .rhosts file we use initially for conveniently copying files among nodes and it is always recommended to remove .rhosts from all cluster nodes after reconfiguration.
Also DP does not require it as for as I know.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 09:06 PM
02-28-2006 09:06 PM
Re: .rhosts, hosts.equiv
1. What/who would need a .rhosts file?
the "r" commands like remsh,rcp,rlogin requires this entry.
2. Does ServiceGuard require a .rhosts file in /etc/cmcluster?
Not required in /etc/cmcluster. In fact, you can do away with .rhosts by using cmclnodelist in /etc/cmcluster. Devender's suggestion is a useful one too.
3. Does Data Protector require a .rhosts file in /root to execute pre/post exec commands on other boxes?
No
4. What should be in the hosts.equiv file?
How about using "man hosts.equiv"
With regards,
Mohan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2006 02:32 PM
03-01-2006 02:32 PM
Re: .rhosts, hosts.equiv
1, hosts.equiv:
-located at /etc/hosts.equive
- is file that allow/deny all users (have same name on localhost) to access server via ARPA/Berkery services (rlogin, rcp,remsh.rexec, rup,ruptime..)
- this is called as host equivalency
- there is only once file on system
2, .rhosts:
- located at $HOME/.rhosts file
- it deny/allow same user from specific node (IP) to access resource on local hosts
-each user can set up his or her own .rhosts file
- this is call user equivalency
2. Does ServiceGuard require a .rhosts file in /etc/cmcluster?
It is optional, YOu can use /etc/cmcluster/cmnodelist to replace it (better for security)
3. Does Data Protector require a .rhosts file in /root to execute pre/post exec commands on other boxes?
If your script uses ARPA/Berkery services, it is needed. Otherwise not.
4. What should be in the hosts.equiv file?
Host equivalency file used to allow or deny access for specific services
Be careful to grant permission. It is at risk of security
HTH
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 12:41 PM
03-28-2006 12:41 PM
Re: .rhosts, hosts.equiv
I'm looking to eliminate all .rhosts files on the system. However, I'm not certain on how to go about doing this. Any help is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 01:48 PM
03-28-2006 01:48 PM
Re: .rhosts, hosts.equiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 03:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 03:55 PM
03-28-2006 03:55 PM
Re: .rhosts, hosts.equiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 05:58 PM
03-28-2006 05:58 PM
Re: .rhosts, hosts.equiv
.rhosts are inefective if not rw------- or not owned by user.
you can change their right, and owner.
for x in $(awk -F: '{printf "%s/.rhosts\n",$5}' /etc/passwd )
do
touch $x
chown root:root $x
chmod 444 $x
done
you can narrow awk by using a pattern (like $5 ~ /my/company/dirs/ )
Data Protector et Service Guard don't relay on hosts.equiv as you've been told.
Jean-Yves Picard