Operating System - HP-UX
1832284 Members
2461 Online
110041 Solutions
New Discussion

rsh from nt to Unix or Linux

 
Sachin Patel
Honored Contributor

rsh from nt to Unix or Linux

rsh from pc to unix has following message.

c:\> rsh bessel date
bessel:remshd:login incorrect.
rsh csn't establish connection.

We have all NT /2000 system on DHCP. There is no DNS entry for any of PC's name. so there is no question to add ip or name in /etc/hosts.equiv file.

We are using netgroup so hp and linux system can do rsh to each other. All hp and linux systems has static ip.

We don't want to put + on hosts.equiv.

Anyone has any idea how can I make this work.

Sachin
Sachin

Is photography a hobby or another way to spend $
4 REPLIES 4
someone_4
Honored Contributor

Re: rsh from nt to Unix or Linux

hello sachin,

The only thing I got to work from windows 2000 is with the -l option using root.

C:\>rsh lupus -l root date
Tue Jul 23 16:21:23 CDT 2002

and setting up .rhosts (hosts.equiv should work the same) like so:

ip.addy.of.pc pc_user

with pc_user being the username used to loggin to the PC. And it is case sensitve. Mine only worked like so ..

192.168.10.91 Administrator

and

192.168.10.91 +

but you didnt want to use the + option.

Hope this helps,

~ Richard

Patrick Wallek
Honored Contributor

Re: rsh from nt to Unix or Linux

You should still be able to add the IP address of the PC to hosts.equiv or .rhosts file on your unix machines.

With DHCP, if your IP address lease policies are set sufficiently long, your PC will generall keep the same IP address unless it is turned OFF, not just rebooted but actually powered off, for a time longer than the IP lease period.

I had a PC at work where the only time the IP addressed changed on the PC was when I moved between floors in the office. I had kept the same IP for at least 2 years in one case.
harry d brown jr
Honored Contributor

Re: rsh from nt to Unix or Linux

Sachin,

get SSH!

live free or die
harry
Live Free or Die
Sachin Patel
Honored Contributor

Re: rsh from nt to Unix or Linux

Well I manage to work this out.

create a netgroup with user name and add that in /etc/hosts.equiv file

+ +@systemuser

Harry no way I can add ssh now because few people would not like chages and we have 70 clusters i.e 4000 nodes.

putting IP address is out of question as I say because of DHCP.

Thanks for your time guys

Sachin
Is photography a hobby or another way to spend $