On 100405 at 23:45, Daryl Thompson wrote: > Is there a Linux equivalent network messaging command like 'NET SEND' in > windows > That is i want to be able to send messages to all and individual > computers on the local network.
Homebrew computer club method works as follows: Server: netcat -l -p 5000 -c "xmessage -center -default okay -file -" Client: echo "Your system is infected with a virus, please reboot" | netcat $host 5000 Unfortunately you have to kill the client with ctrl-c before the message pops up. And I can't get broadcast to work, but you can write a for-loop around that.. For security, you probably want to replace netcat with ssh. Then clusterssh can solve the broadcast problem. Note that depending on the Linux distribution, root might not have access to the user's X server. For console-only messages, write(1) is a lot of fun. :-) /steffen -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
