- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: REMOTE SHELL FAILING (remsh)
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
тАО09-12-2008 03:47 AM
тАО09-12-2008 03:47 AM
I have 2 servers that can ping each other:
A HPUX machine (server1), and a Sun Solaris Machine (server2).
I have created 2 logins on server1 and server2 called tutti and frutti
I have on the HPUX machine configured the /etc/hosts on both machines as well as the /etc/hosts.equiv files as follows.
/etc/hosts on server1:
10.x.y.z server1 loghost
10.m.n.o server2
/etc/hosts on server2:
10.m.n.o server2 loghost
10.x.y.z server1
The /etc/hosts.equiv basically look exactly the same on both servers:
/etc/hosts.equiv
server1 tutti
server1 frutti
server2 tutti
server2 frutti
-------------------------
Now, when I login with userid frutti to server2, i can do the following command:
%frutti>remsh server1 ls /
and it gives me a listing of everything on server1's root directory :)
But when I login with userid frutti on server1 (my HPUX machine), and I do the following command:
%frutti>remsh server2 ls /
permission denied
Now, why is that?? How is it server2 can remsh into server1 and yet server1 cannot remsh into server2.
I did a snoop on server2 (its something they have on solaris) .. and I couldnt see any error messages...
Is there an equivalent of snoop on HPUX? I really need to debug this asap. Thanks for your support
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2008 04:53 AM
тАО09-12-2008 04:53 AM
Re: REMOTE SHELL FAILING (remsh)
in your problem description if you didn't try
to hide the actual names and addresses of
everything. You could have a simple
typographical error somewhere, and no one
could tell. No one can get a route to a
10.a.b.c address, so what are you worried
about? Why make things harder than they need
to be?
What does "remsh serverX" (with no command)
do, ask for a password? (Does it work if you
give it the right one?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2008 04:57 AM
тАО09-12-2008 04:57 AM
Re: REMOTE SHELL FAILING (remsh)
The equivalent of snoop in HP-UX is tusc. It is an add-on product, it might not be installed on your server. (software.hp.com)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2008 05:13 AM
тАО09-12-2008 05:13 AM
Re: REMOTE SHELL FAILING (remsh)
You know what is was?
It was the .rhosts file. This has to be located in the $HOME{tutti}.
As for hiding stuff.. how do you know I'm not working for a company that sells icecream and the names of our userid's are tutti and frutti??
I'll give you a few points anyway if you can tell me what the + sign does at the bottom of the .rhosts file? THanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2008 05:16 AM
тАО09-12-2008 05:16 AM
Re: REMOTE SHELL FAILING (remsh)
http://docs.hp.com/en/B3921-60631/hosts.equiv.4.html
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2008 05:29 AM
тАО09-12-2008 05:29 AM
Re: REMOTE SHELL FAILING (remsh)
I don't know what to do now? Do I read the man pages, or do I wait for someone to kindly give me the answer?
OK. I'll read the man pages, for if someone wants any points, can you answer me what the differences (in terms of structure) are between an .rhosts file on HPUX and one on SOlaris ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2008 05:35 AM
тАО09-12-2008 05:35 AM
Re: REMOTE SHELL FAILING (remsh)
Can someone just summarise it anyway for me? What is the + used for in a .rhosts?
Can someone explain this?
(its from the man pages)
+ -hostB + root
What is that doing?
Thanks all,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2008 05:40 AM
тАО09-12-2008 05:40 AM
Re: REMOTE SHELL FAILING (remsh)
.rhosts in the home directory of user chm on hostA contains:
+
-hostB
+ root
User chm from any host is allowed to access account chm on hostA. User root from any host except hostB can access account chm on hostA.
(this is copied from the man page :-)
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2008 05:42 AM
тАО09-12-2008 05:42 AM
Re: REMOTE SHELL FAILING (remsh)
> not working for a company that sells
> icecream and the names of our userid's are
> tutti and frutti??
The same way I know that your IP addresses
are not really 10.m.n.o and 10.x.y.z.
> I'll give you a few points anyway ...
Oh, boy! I _live_ for points awarded by
people who don't know how to ask a question
_or_ read "man" pages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2008 06:03 AM
тАО09-12-2008 06:03 AM
Re: REMOTE SHELL FAILING (remsh)
Thanks for your support