RE: [expert] w2k shutdown from mdk
Two functional answers, one sorta funny, one serious.. :-) 1. Don't patch the IIS server of the offending win2k machine.. then use the nimda hack to send cmd.exe a shutdown signal... thats sorta clean... :-) 2. Or you could setup ssh server on the win2k machine (google is your friend.) then write a script on the linux box, to log into the win2k machine and send it a shutdown signal... There might be an easier way. (like using the telnet server in win2k) but ssh is safer and more secure. rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tony S. Sykes Sent: Thursday, 21 November 2002 4:56 PM To: Expert (E-mail) Subject: [expert] w2k shutdown from mdk Hi all, Does anybody know how to shut a w2k box down remotely from MDK9.0 (needs to be a clean shutdown). Thanks, Tony. -+-+-+-+-+-+-+- Business Computer Projects - Disclaimer -+-+-+-+-+-+-+- This message, and any associated attachment is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify either Tony S. Sykes or the postmaster mailto:[EMAIL PROTECTED] immediately. The contents of this message may contain personal views which are not necessarily the views of Business Computer Projects Ltd., unless specifically stated. Whilst every effort has been made to ensure that emails and their attachments are virus free, it is the responsibility of the recipient(s) to verify the integrity of such emails. Business Computer Projects Ltd BCP House 151 Charles Street Stockport Cheshire SK1 3JY Tel: +44 (0)161 355-3000 Fax: +44 (0)161 355-3001 Web: http://www.bcpsoftware.com http://www.bcpsoftware.com/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [expert] w2k shutdown from mdk
Thanks for all the replies. I will go the Cygwin way with ssh as I want it in a script on my MDK box. It's for taking care of backing up my PC. Thanks again, Tony. p.s. Sorry about the sig but I have no choice as it is auto by our Exchange server (Not my fault). -Original Message- From: Kiran [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 2:41 AM To: MDK expert Subject: RE: [expert] w2k shutdown from mdk - It is not scriptable. - It requires a GUI on the UNIX side either X or frame-buffer. - It requires a mouse on the UNIX side. That pretty much sums up Windows too sans the UNIX reference (ok ... they do have perl for windows so I guess it is scriptable) -+-+-+-+-+-+-+- Business Computer Projects - Disclaimer -+-+-+-+-+-+-+- This message, and any associated attachment is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify either Tony S. Sykes or the postmaster mailto:[EMAIL PROTECTED] immediately. The contents of this message may contain personal views which are not necessarily the views of Business Computer Projects Ltd., unless specifically stated. Whilst every effort has been made to ensure that emails and their attachments are virus free, it is the responsibility of the recipient(s) to verify the integrity of such emails. Business Computer Projects Ltd BCP House 151 Charles Street Stockport Cheshire SK1 3JY Tel: +44 (0)161 355-3000 Fax: +44 (0)161 355-3001 Web: http://www.bcpsoftware.com http://www.bcpsoftware.com/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] w2k shutdown from mdk
On Thu, 21 Nov 2002, Tony S. Sykes wrote: Does anybody know how to shut a w2k box down remotely from MDK9.0 (needs to be a clean shutdown). Format c: ? (that'll save you from a lot of future grief as well :) ) -- ./mvh Christian Jul Jensen I'm not quite sure what I'm participating in. I joined the conversation because I wanted to type the word esperanto and email it to thousands of people for no reason at all. :-) -- Allen Smith @ TYPO3-devel-list Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [expert] w2k shutdown from mdk
That would be nice, but my Infrastructure Manager would not be impressed. -Original Message- From: Christian Jul Jensen [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 9:20 AM To: Expert (E-mail) Subject: Re: [expert] w2k shutdown from mdk On Thu, 21 Nov 2002, Tony S. Sykes wrote: Does anybody know how to shut a w2k box down remotely from MDK9.0 (needs to be a clean shutdown). Format c: ? (that'll save you from a lot of future grief as well :) ) -- ./mvh Christian Jul Jensen I'm not quite sure what I'm participating in. I joined the conversation because I wanted to type the word esperanto and email it to thousands of people for no reason at all. :-) -- Allen Smith @ TYPO3-devel-list -+-+-+-+-+-+-+- Business Computer Projects - Disclaimer -+-+-+-+-+-+-+- This message, and any associated attachment is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify either Tony S. Sykes or the postmaster mailto:[EMAIL PROTECTED] immediately. The contents of this message may contain personal views which are not necessarily the views of Business Computer Projects Ltd., unless specifically stated. Whilst every effort has been made to ensure that emails and their attachments are virus free, it is the responsibility of the recipient(s) to verify the integrity of such emails. Business Computer Projects Ltd BCP House 151 Charles Street Stockport Cheshire SK1 3JY Tel: +44 (0)161 355-3000 Fax: +44 (0)161 355-3001 Web: http://www.bcpsoftware.com http://www.bcpsoftware.com/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] w2k shutdown from mdk
On Thu, 2002-11-21 at 01:20, Christian Jul Jensen wrote: On Thu, 21 Nov 2002, Tony S. Sykes wrote: Does anybody know how to shut a w2k box down remotely from MDK9.0 (needs to be a clean shutdown). Format c: ? (that'll save you from a lot of future grief as well :) ) Cold. Truly Cold. (but I like) James -- ./mvh Christian Jul Jensen I'm not quite sure what I'm participating in. I joined the conversation because I wanted to type the word esperanto and email it to thousands of people for no reason at all. :-) -- Allen Smith @ TYPO3-devel-list __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com -- James Sparenberg [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] w2k shutdown from mdk
Umm...for a server, use desktop to connect to the win box and the select shutdown. I usually have a toolbox set up somewhere with all the fun little reskit tools. Theres one called shutdown.exe that works a treat on a workstation or server - easiest way is connect to the toolbox and then run shutdown from there to shutdown the target. Format C: is probably the best way though On Thu, 21 Nov 2002 20:33, Tony S. Sykes wrote: That would be nice, but my Infrastructure Manager would not be impressed. -Original Message- From: Christian Jul Jensen [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 9:20 AM To: Expert (E-mail) Subject: Re: [expert] w2k shutdown from mdk On Thu, 21 Nov 2002, Tony S. Sykes wrote: Does anybody know how to shut a w2k box down remotely from MDK9.0 (needs to be a clean shutdown). Format c: ? (that'll save you from a lot of future grief as well :) ) -- Andrew George --- Memory fault - where am I? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] w2k shutdown from mdk
just ssh in and shutdown, cygwin has both, or u could install one of the hundreads of trojans that have this feature for windows :) JG ps its not polite eticate to have such a large signature Tony S. Sykes wrote: Hi all, Does anybody know how to shut a w2k box down remotely from MDK9.0 (needs to be a clean shutdown). Thanks, Tony. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] w2k shutdown from mdk
I can think of a few options, none of them good. 1: Install VNC on both machines. 2: (if W2k Server) Install Terminal Services Remote Administration mode, Use a linux RDP client to connect to the W2K. I have seen a RDP client for Linux but can't remember where, a quick Google search should point you in the right direction. 3: (if W2K Server) Install the Telnet service on the W2k box. Execute the 'Shutdown' command via telnet. This requires the telnet service be configured to use Kerberos authentication and the Linux box be in the same kerboros domain. This would introduce many nasty security holes and I'm not sure it would work anyway. 4: Install a web server (IIS or Apache) and make CGI/ASP script to execute the 'shutdown' command. -Original Message- From: Tony S. Sykes [EMAIL PROTECTED] To: Expert (E-mail) [EMAIL PROTECTED] Date: Thu, 21 Nov 2002 08:55:45 - Subject: [expert] w2k shutdown from mdk Hi all, Does anybody know how to shut a w2k box down remotely from MDK9.0 (needs to be a clean shutdown). Thanks, Tony. -+-+-+-+-+-+-+- Business Computer Projects - Disclaimer -+-+-+-+-+-+-+- This message, and any associated attachment is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify either Tony S. Sykes or the postmaster mailto:[EMAIL PROTECTED] immediately. The contents of this message may contain personal views which are not necessarily the views of Business Computer Projects Ltd., unless specifically stated. Whilst every effort has been made to ensure that emails and their attachments are virus free, it is the responsibility of the recipient(s) to verify the integrity of such emails. Business Computer Projects Ltd BCP House 151 Charles Street Stockport Cheshire SK1 3JY Tel: +44 (0)161 355-3000 Fax: +44 (0)161 355-3001 Web: http://www.bcpsoftware.com http://www.bcpsoftware.com/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] w2k shutdown from mdk
On Thu, 2002-11-21 at 12:42, Jim Dawson wrote: I can think of a few options, none of them good. 1: Install VNC on both machines. Could you explain why you consider VNC a not good option? Just curious. -- Dave Sherman [EMAIL PROTECTED] Business Solutions Group, LLC signature.asc Description: This is a digitally signed message part
RE: [expert] w2k shutdown from mdk
I am curious as well about your reason(s), but I can see three things that could annoy me: - It is not scriptable. - It requires a GUI on the UNIX side either X or frame-buffer. - It requires a mouse on the UNIX side. bye. /Sebast : [ Linux One Stanza Tip (LOST) ]### Sub : IDE device names in Linux LOST #084 IDE devices (HDD/ CDROM) Linux names 1. Primary master /dev/hda 2. Primary slave/dev/hdb 3. Secondary master /dev/hdc 4. Secondary Slave /dev/hdd [EMAIL PROTECTED]### : -Original Message- From: Dave Sherman [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 4:31 PM To: Mandrake-expert Subject: Re: [expert] w2k shutdown from mdk On Thu, 2002-11-21 at 12:42, Jim Dawson wrote: I can think of a few options, none of them good. 1: Install VNC on both machines. Could you explain why you consider VNC a not good option? Just curious. -- Dave Sherman [EMAIL PROTECTED] Business Solutions Group, LLC Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] w2k shutdown from mdk
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sebastien Routier wrote on Thu, Nov 21, 2002 at 04:45:08PM -0500 : I am curious as well about your reason(s), but I can see three things that could annoy me: - It is not scriptable. - It requires a GUI on the UNIX side either X or frame-buffer. - It requires a mouse on the UNIX side. And cygwin gets rid of all three requirements, hence cygwin really is the desired solution. Blue skies... Todd - -- | MandrakeSoft USA | Security is like an onion. It's made | | http://www.mandrakesoft.com | made up of several layers and makes | | http://www.mandrakelinux.com | you cry. --Howard Chu| Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.20-0.2mdk -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE93WD0lp7v05cW2woRAkUKAKCLucZUyypWtOv2dSaPgdwVrApobACeKTMM Z7CIT7OzEzC5OHE8etTwVpM= =EQdc -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] w2k shutdown from mdk
Hi, Todd Lyons wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sebastien Routier wrote on Thu, Nov 21, 2002 at 04:45:08PM -0500 : I am curious as well about your reason(s), but I can see three things that could annoy me: - It is not scriptable. - It requires a GUI on the UNIX side either X or frame-buffer. - It requires a mouse on the UNIX side. And cygwin gets rid of all three requirements, hence cygwin really is the desired solution. Do you mean with ssh? Is the cygwin ssh integration with the windows passwd file? JG Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [expert] w2k shutdown from mdk
- It is not scriptable. - It requires a GUI on the UNIX side either X or frame-buffer. - It requires a mouse on the UNIX side. That pretty much sums up Windows too sans the UNIX reference (ok ... they do have perl for windows so I guess it is scriptable) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com