I'm trying to find a way to broadcast a shutdown message to all the users on clients connected to my centos server. The wall command sends only to users logged into the server and not to clients .I know also of rwall but can't seem to find it on centos 6 or a package that provides it .Is there a cleaner way to do this in rhel/centos 6 .

  • The rpm is here rpm.pbone.net/index.php3/stat/4/idpl/2394494/dir/redhat_6.x/com/… for rhel . Use yum to install it .Still testing it though Jul 6, 2016 at 13:31
  • How does this answer the question? If you write a self-answer, please don't give intermediate reports. If you found a solution, give the complete, working instructions.
    – Sven
    Jul 6, 2016 at 14:13
  • This rpm is the solution. It's already documented though not particularly for centos. It's just a simple command called rwall. It's usage is documented linuxcommand.org/man_pages/rwall1.html Jul 6, 2016 at 15:14

1 Answer 1


Shutdown includes an optional message paramater


So if I wanted to restart in 60 minutes and notify all my users I would use

shutdown -r +60 Attention all Linux Users, the system will need to be restarted for maintenance soon!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.