Broadcasting a message?

Posted on 2003-02-21
Medium Priority
Last Modified: 2012-05-07
I want to send out a message to all users, in certain groups, logged into a server. I tried using the wall command so either I'm not using it improperly or it is not the correct way to do it. What I want to do is send out a message to all users on a server (using gui not a terminal) and have that pop-up (like the javascript pop-up widows) appear for people on the gui! I know it is possible but I don't know how do do it!
Question by:894359
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 7994624
Try rwall instead of wall.  You cannot specify server with wall.  It reads from stdin (keyboard) or you can pipe or redirect file.

rwall servername
rwall -h servername -n netgroup

I like using it as a pipe.
Try it and let me know.

Expert Comment

ID: 7995973
This is what you need. It does not exist as built-in command in Unix.
LVL 21

Accepted Solution

tfewster earned 800 total points
ID: 8007606
I couldn't see how to download VWall, so here's a DIY approach:

1) Create a list of connected workstations (using `who -u` ?). This bit needs more thought...
Or the workstations that _might_ connect. Call it "wslist"

2) Create a little shell script, "myscript"
echo "Place your message here"
echo "Press <Return> to continue"
read ans

3) for ws in `cat wslist`
xterm -display ${ws}:0.0 -geom 110x10 -fn Rom14 -bg black -fg red -T `hostname` -e myscript &

This pops an xterm up on each display, with the specified size/font/colours, and executes `myscript`

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month10 days, 16 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question