# Inhibit Broadcast Messages from shutdown(8) command?

**URL:** <https://forums.suse.com/t/inhibit-broadcast-messages-from-shutdown-8-command/22816>\
**Category:** SLES Configure-Administer\
**Created:** [July 5, 2012, 2:03pm UTC](https://forums.suse.com/t/inhibit-broadcast-messages-from-shutdown-8-command/22816 "2012-07-05T14:03:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![johol](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@johol](https://forums.suse.com/u/johol)\
**Post date:** [July 5, 2012, 2:03pm UTC](https://forums.suse.com/t/inhibit-broadcast-messages-from-shutdown-8-command/22816/1 "2012-07-05T14:03:51Z")

</div>

Hi,

Is it possible (and if so how do I do) to inhibit the Broadcast Messages sent by the shutdown command to all terminals with user processes attached to them?

As I understand it, shutdown(8) in SysVInit reads from /var/run/utmp via getutent(3) to find out which terminals has user processes associated with them, and then it sends Broadcast Messages to those terminals…

We have a machine-machine interface to a HA SLES machine and getting unexpected Broadcast Messages complicates things a lot. ☹

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [July 5, 2012, 5:08pm UTC](https://forums.suse.com/t/inhibit-broadcast-messages-from-shutdown-8-command/22816/2 "2012-07-05T17:08:30Z")

</div>

Hi johol,

afaik this is hardcoded within the shutdown command and those messages cannot be supressed by users.

A work-around could be to directly tell “init” to go to the required level (0 for halt, 6 for reboot), iirc this is basically what “shutdown(8)” does after waiting and sending the messages. OTOH you could fetch the source of “shutdown” and re-code to avoid those messages…

Regards,  
Jens
