Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need redhat 9 to shutdown WinXP 1

Status
Not open for further replies.

tsmi

IS-IT--Management
Jan 23, 2002
32
US
I have a network of about 100 redhat 9 boxes. Each one has at least 1 WinXP box connected via an additional NIC. I can remotely shutdown/reboot the linux boxes from a linux server but I would like to be able to remotely shutdown/reboot the PC connected to each Redhat box as well. I read somewhere that samba would allow me to send a net command to the PC but haven't yet found enough info to try it. Any suggestions?

Thanks in advance,

Tony
 
Right you are, now why didn't I think of that :)
 
Of course, I am open to a non-samba solution if one comes my way.

Tony
 
you can always try installing openssh on the windows boxes and then have an expect script login and shutdown the boxes.

>---------------------------------------Lawrence Feldman
SR. QA. Engineer SNAP Appliance
lfeldman@snapappliance.com

 
The answer is rather simple really. I upgraded samba from 2.7 to 3.x to get the "net" command. Next, incorporate into my site shutdown script this to be sent from each linux box to its' pc(s):

net rpc shutdown -s -I xx.xx.xx.xx -U<username>%<passwd> -f -t5

Might be useful to somebody out there...

Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top