On Fri, Oct 03, 2003 at 10:39:14PM +0200, David Harel wrote: > Hi, > > My Linux machine is a file server for other windows machines using > samba. Some times I want to post remote control commands to the windows > machines like turn them off or logout the user. What is the way to do that?
net rpc shutdown -S other_machine_hostname See manpage for 'net' for more info. AFAIK, there's no facility in Windows to remotely log out the current user. Starting rom WinNT 4.0 Terminal Edition, there's no concept of "current session" at all, since there can be multiple simultaneous sessions. ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]