- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- role of /etc/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
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-30-2004 09:29 PM
тАО05-30-2004 09:29 PM
role of /etc/hosts.equiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2004 09:32 PM
тАО05-30-2004 09:32 PM
Re: role of /etc/hosts.equiv
http://docs.hp.com
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2004 09:40 PM
тАО05-30-2004 09:40 PM
Re: role of /etc/hosts.equiv
2. Reward members who take time to answer your posts.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2004 09:43 PM
тАО05-30-2004 09:43 PM
Re: role of /etc/hosts.equiv
hosts.equiv provides system wide equivalency and is found in /etc.
while .rhosts is found in the users' home directory and is used to define user equivalency.
for more info and how to setup using these files, see man .rhosts or man hosts.equiv
regds
Naveej
(Assigning points to your previous queries will fetch you more replies on all your topics)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2004 10:19 PM
тАО05-30-2004 10:19 PM
Re: role of /etc/hosts.equiv
The /etc/hosts.equiv file and files named .rhosts found in users' home directories specify remote hosts and users that are "equivalent" to the local host or user. Users from equivalent remote hosts are permitted to access a local account using rcp or remsh or to rlogin to the local account without supplying a password.
Pls find full detailed info with:
# man hosts.equiv
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2004 12:28 AM
тАО05-31-2004 12:28 AM
Re: role of /etc/hosts.equiv
The hosts.equiv file resides in the /etc directory and lists the remote machines that may connect to the local machine and the local user names those machines may connect as. The .rhosts file resides in a user's home directory and specifies the remote machines and remote user names that the user may use to remotely log in to the local machine.
Each line of these files has the format:
hostname [username]
hostname may be given as a host name (typically, a fully qualified host name in a DNS environment), an address, or a + character indicating that all hosts are to be trusted.
username, if specified, may be given as either a user name on the remote host or a + character indicating all users on hostname.
When the optional username is specified, only users with entries on the specified host may log in to the local machine. When username is not specified, any user that has the same user name on both the remote and local machines may log in to the local machine.
Note:
Because the rsh and rcp utilities resend the current without the domain if it is too long and the rlogin utility does not, a user may require two entries in the hosts.equiv or .rhosts file. If the full name (including domain) is too long for the rshd service (or daemon) being used, the user needs one entry with the full user name (including domain) for use with rlogind and a second with the the same user name minus the domain for use with rshd.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2004 01:22 AM
тАО05-31-2004 01:22 AM
Re: role of /etc/hosts.equiv
hosts.equiv talks about host equivalency and .rhosts talks about user equivalency.
for e.g.
If you want to allow certain hosts and don't bother about what user are therein then use hosts.equiv.
And if you are cautious at users level then better to go for .rhosts.
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2004 01:24 AM
тАО06-01-2004 01:24 AM
Re: role of /etc/hosts.equiv
root user ignores /etc/hosts.equiv and requires .rhosts in root user $HOME dir
Also any .rhosts should be owned by the user, and permissions 400 for "security".
Consider using ssh instead of r-commands for better security and accountability.
HTH, Brian Hackley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2004 02:05 AM
тАО06-01-2004 02:05 AM