Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

how to stop broadcast messages to all users?

kdea
Occasional Contributor

how to stop broadcast messages to all users?

One of the power supplies on our ES40 failed, and a replacement has been ordered. In the meantime, the machine insists on broadcasting it to me and all the users?

Broadcast Message from root@xxx.xxx.com (???) at 12:17 ...

Redundant Power Supply has failed.

What do I use to control it to broadcast to users and/or root?

Thanks!
6 REPLIES
Ivan Ferreira
Honored Contributor

Re: how to stop broadcast messages to all users?

Check your /etc/syslog.conf. This like may cause the problem:

*.emerg *

Comment out that line and send the HUP signal to the syslogd daemon.

If you want to send it only to root, configure like this:

*.emerg root

The "mesg n" command won't prevent the messages from appearing.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
kdea
Occasional Contributor

Re: how to stop broadcast messages to all users?

Thanks! I figured it was in the syslog.conf. I didn't know the syntax.

kdea
Occasional Contributor

Re: how to stop broadcast messages to all users?

Hmmmm.... actually, no, the messages are still happening. Any other ideas?
kdea
Occasional Contributor

Re: how to stop broadcast messages to all users?

The bottom of my /etc/syslog.conf looks like this:

#kern.debug /var/adm/messages
#kern.debug /dev/console
#*.emerg root

I restarted the syslogd daemon, and the broadcast messages (and beep) still happens.

walld is commented out in my /etc/inetd.conf file.

Any ideas?
prathesh
Occasional Contributor

Re: how to stop broadcast messages to all users?

can you remove the hash for the *.emer root and then try again
Experience makes a man perfect
Bill Coulter
Occasional Visitor

Re: how to stop broadcast messages to all users?

This error message is sent by the envmond daemon. The configuration utility for this is envconfig.

In the same situation, I entered the following command in order to stop the e-mails:

envconfig stop

This also works:

/sbin/init.d/envmon stop

Still haven't figured out how to direct e-mail only to the root account...

bc