1838619 Members
2085 Online
110128 Solutions
New Discussion

rsh from windows 2000

 
SOLVED
Go to solution
Derrick Young
Occasional Contributor

rsh from windows 2000

I am trying to issue a remote shell commend from windows 2000 to a HP-UX workstation.

the command is
rsh HPUX_NAME -l root shutdown -h now

The HP workstation has a .rhosts file in teh /root directory that looks like

win2000_name root

I also added the win2000_name to the hosts.equiv file just in case

the reply back when I run my rsh command
is invalid login
4 REPLIES 4
Pete Randall
Outstanding Contributor
Solution

Re: rsh from windows 2000

You would have to be "root" in your Windoze2000 environment.

Pete

Pete
Tom Maloy
Respected Contributor

Re: rsh from windows 2000

Sounds like root is allowed to login on the console only. Check /etc/default/security for the console entry.

root should only have console access.

You could use sudo with another user id to perform the shutdown.

Tom
Carpe diem!
Sajid_1
Honored Contributor

Re: rsh from windows 2000

hello,

a) Check whether user 'root' exists on Windows. If not give your Windows user id in the Workstation's rhosts file.
b) Try giving IP_ADRESS instead of system_name.
c) Check connectivity
learn unix ..
Sajid_1
Honored Contributor

Re: rsh from windows 2000

Hi,

This document says more about configuring the 'rsh' between HP and Windows:
http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000041257571

Doc ID - A5638118
learn unix ..