Datanode
02-26-2001, 08:26 AM
Anyone know a simple way to send a reboot msg across to windows clients. Perhaps using smbclient -M in some way ;). All i want to do is just warn all windows clients connected of reboots :)
|
Click to See Complete Forum and Search --> : Reboot Msgs to windoze clients Datanode 02-26-2001, 08:26 AM Anyone know a simple way to send a reboot msg across to windows clients. Perhaps using smbclient -M in some way ;). All i want to do is just warn all windows clients connected of reboots :) jumpedintothefire 02-26-2001, 08:33 AM Have a look at: http://www.linuxnewbie.org/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=12&t=000425 ;) Datanode 02-26-2001, 11:01 AM Ta for the link but it hasn't told me anything new :(. I wanted to make a reboot script that warned all my collegues on WINNT machines that the unix box is restarting. My fault i didn't say "exactly" what i was trying to do :) [ 26 February 2001: Message edited by: Datanode ] Fandelem 02-26-2001, 05:54 PM that link should have helped you then. write a script that will go to every computer name (or user) with a generic shutdown message.. echo "Server is rebooting" | smbclient -M computer#1 echo "Server is rebooting" | smbclient -M computer#2 echo "Server is rebooting" | smbclient -M computer#3 ... ... (you could write a loop if you have organized your computer names correctly ;o) if you have no clue about usernames or computer names, you're pretty screwed. i doubt you could just broadcast it, although it would seem like a possibility.. hmm.. Datanode 02-27-2001, 12:43 PM Ta guys sorry me being silly it said press ctrl d to send so i thought the echo wasn't working justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |