1832617 Members
2578 Online
110043 Solutions
New Discussion

W2k request to HP-UX

 
omid_1
Occasional Contributor

W2k request to HP-UX

Hi,
I would like to send a remote shutdown to our HP-UX servers from a W2k server. Does anybody know how I can do ? Would a rsh work (I have to be root to run a shutdown ...) ? Any other sugestions ?

thanx
omid
2 REPLIES 2
harry d brown jr
Honored Contributor

Re: W2k request to HP-UX

Setup a .rhosts file on your HPux Server in ROOT's home with an entry like this:

NAMEOFNT root

Then on NAMEOFNT test a simple command:

C:\>rsh NAMEOFHP -l root date
Tue Mar 26 11:09:52 EST 2002

C:\>

Of course this VIOLATES all security!!!


live free or die
harry
Live Free or Die
Ross Martin
Trusted Contributor

Re: W2k request to HP-UX

If you can telnet or rlogin as root, then you can enter a reboot -h -- that should shutdown and halt the system.

Check manpage on reboot(1M) for options.

Ross