Operating System - HP-UX
1753894 Members
7788 Online
108809 Solutions
New Discussion юеВ

Re: REMOTE SHELL FAILING (remsh)

 
SOLVED
Go to solution
Vassilios
Frequent Advisor

Re: REMOTE SHELL FAILING (remsh)

thanks Torsten,
but what does this mean? the + and - sign??

+
-hostB
+ root

thanks again
Patrick Wallek
Honored Contributor
Solution

Re: REMOTE SHELL FAILING (remsh)

Assuming this is in a .rhosts file in a users home dir.

+ -- Access allowed for user from any host

-hostb -- All access from hostb is DENIED

+ root -- Access allowed for root from any host EXCEPT hostb. Note the space between the '+' and 'root'.



# man rhosts
See example #4 at the end of the man page.
Torsten.
Acclaimed Contributor

Re: REMOTE SHELL FAILING (remsh)

Well, it's explicitly written ... see above.

In general "+" is a wildcard stands for "any" - "-" for "non" or "except".
It depends, what you "write around" ...

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!   
Vassilios
Frequent Advisor

Re: REMOTE SHELL FAILING (remsh)

Torsten, you are right.. sorry, Im just a bit slow.

Thanks for pointing that out.

Does anyone here know if there's a snooping tool on HPUX? The same as what we have on sun?
TTr
Honored Contributor

Re: REMOTE SHELL FAILING (remsh)

The snoop equivalent in hp-ux is tcpdump. You may already have it in /opt/iexpress/tcpdump, if not download it from http://software.hp.com

I think tusc as I mentioned in my previous reply is a better tool to use to trace processes and find errors.