Operating System - HP-UX
1849154 Members
5655 Online
104041 Solutions
New Discussion

Re: remsh doesnt work properly

 
Rajesh Karelia
Frequent Advisor

remsh doesnt work properly

i would like to know what files must be present on a system for remsh to work perfectly on HP-UX. I was under the impression that this would work with the presence of /etc/hosts.equiv file. but it is not working for me.
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: remsh doesnt work properly

Hi:

Start by examining the manpages for 'hosts.equiv(4)'. When you meet these requirments describe what doesn't work for you. You have not given any details!

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: remsh doesnt work properly

Shalom,

I'd recommend that you look at the system log of both systems, /var/adm/syslog/syslog.log

Also, consider secure shell, which is based on openssh and provides encrypted authentication and data stream.

Much safer.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Hassell
Honored Contributor

Re: remsh doesnt work properly

/etc/hosts.equiv is not recommended because of the global nature of this file. It can give access rights to all accounts except root. Only specific users that need remsh access should be using this service. The best way to get remsh working is to test with a single user with a .rhosts file.

NOTE: The .rhosts file must be in the user's HOME directory. It must be owned by the user and the right must be 600 (rw for user, no other rights). The hostname in .rhosts must be resolvable by IP as well as hostname. A misconfigured DNS server will cause remsh to fail and ask for a password. To temporarily avoid the problem, put the hostname, the fully qualified hostname and the IP address for the incoming system in .rhosts on separate lines:

myname billh
myname.domain.net billh
12.34.56.78 billh

If remsh works OK now, DNS has problems, typically no reverse lookup records.


Bill Hassell, sysadmin
A. Clay Stephenson
Acclaimed Contributor

Re: remsh doesnt work properly

i would like to know what files must be present on a system for remsh to work perfectly on HP-UX.

A dumb question deserves a dumb answer. Let's start with /stand/vmunix. If it's not there, remsh probably won't work perfectly.

Ditto for /etc/passwd, /etc/group, /etc/hosts, /usr/lib/lib*.so. ... and a herd of others. Moreover not only must the files be present but the mode, owner, and group are important as well. You should really learn to narrow the focus of your question and to supply your exact error messages. In any event, the remsh authication mechanism is well documented in the remshd man pages and that is where your quest should start.
If it ain't broke, I can fix that.