Operating System - Tru64 Unix
1748148 Members
3763 Online
108758 Solutions
New Discussion юеВ

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 6
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
New Member

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