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
тАО04-16-2008 11:04 PM
тАО04-16-2008 11:04 PM
I can find this file by using
#find / -name .rhosts
How to configure .rhosts in HPUX
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2008 11:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2008 11:08 PM
тАО04-16-2008 11:08 PM
Re: HPUX QA
.rhosts is not there by default, you need to create one in / directory.
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2008 11:31 PM
тАО04-16-2008 11:31 PM
Re: HPUX QA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2008 11:38 PM
тАО04-16-2008 11:38 PM
Re: HPUX QA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2008 11:53 PM
тАО04-16-2008 11:53 PM
Re: HPUX QA
$cat /home/user1/.rhosts
ServerB user1
On ServerB
$cat /home/user1/.rhosts
ServerA user1
Test it on ServerA as user1
$remsh ServerB hostname
ServerB
don't forget to assign points!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2008 12:24 AM
тАО04-17-2008 12:24 AM
Re: HPUX QA
I have configured but rsh not working but remsh is working ............giving sfqaopt23 not found
[root@jadeja][/]rsh sfqaopt23 ls
rsh: sfqaopt23: not found.
[root@jadeja][/]remsh sfqaopt23 ls
showing list of files
abc
pqr
xyz
[root@jadeja][/]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2008 01:03 AM
тАО04-17-2008 01:03 AM
Re: HPUX QA
check with
$nslookup sfqaopt23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2008 03:57 AM
тАО04-19-2008 03:57 AM
Re: HPUX QA
rsh is used in HPUX as restricted shell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2008 06:45 AM
тАО04-19-2008 06:45 AM
Re: HPUX QA
Not a good idea at all, especially on big machines. find / might take serveral hours to complete and severely load the server needlessly. The .rhosts file only works if it is in the $HOME directory so limit the search to the $HOME directories and since it MUST reside in the user's $HOME directory, don't use find, just use ll:
ll /home/*/.rhosts
But as mentioned, .rhosts never exists by default as it can be a severe security risk. You create the file in the user's $HOME. Do this as root by:
echo "remote-host username" >> /home/username/.rhosts
echo "remote-IPaddr username" >> /home/username/.rhosts
where remote-host is the hostname of the remote computer and the username is the user that will be accesssing this local computer. Because there are so many wrong ways to setup hostname resolution, always put the IP address in the .rhosts file. Then change the permissions and ownership:
chown localUserName /home/localUserName/.rhosts
chmod 600 /home/localUserName/.rhosts
Then test with a simple command from the remote system:
(On HP-UX)
remsh localHostname pwd
(On other Unix systems)
rsh localHostname pwd
Bill Hassell, sysadmin