Re: Turning off Win2008 machines from a CentOS box

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Joseph L. Casale wrote:
I understand this may be able to be done with Samba?
Anyone know the syntax for a CentOS 5.1 Samba client
and what needs to be done to Windows 2008 Server to
allow this (I suspect out of the box it wouldn't allow it)?

I was hoping to use SSH with keys and script the login
and execution of the native win shutdown command, but
I have had troubles making any of the usual win SSH
Daemons work under Windows 2008 Server x64.



winexe opens a command prompt on XP boxes. You can script the shutdown - have no idea if it'll work on 2008:

winexe -A $accountname //$computername "cmd /c shutdown -s -t 60"

and down it goes.


http://eol.ovh.org/winexe/


--
Toby Bluhm
Alltech Medical Systems America, Inc.
30825 Aurora Road Suite 100
Solon Ohio 44139
440-424-2240


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux