LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2012, 09:25 AM   #1
ashlyjay
Member
 
Registered: Dec 2006
Posts: 32

Rep: Reputation: 16
how to change the broadcast message when rebooting centos server


Hi guys,

i am wondering if how can change the broadcast message when i reboot the centos server. I found out the on centos 6 and up, there is no broadcast message when rebooting, but for centos 5 version, there is broadcast message.

It would be great if we can do this.=)
 
Old 10-30-2012, 11:21 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,580
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
With the shutdown command you can specify a message to send after specifying time to wait:

shutdown -r 0 "Going down because I feel like it"

Would do a reboot immediately and should send the message after the 0.

You could do this in 5 as well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 5.5 is rebooting frequently without any logs on the server cvhbsk Linux - General 2 02-05-2011 01:20 AM
Change frequency of shutdown's broadcast message? fogwatch Linux - General 2 10-29-2009 03:48 AM
Broadcast message - example linux_newbie79 Linux - Newbie 1 09-02-2009 06:18 AM
Broadcast a message Fredde87 Linux - Networking 2 04-14-2008 04:51 AM
How can i broadcast a message to computers connected with Telnet to an Apache server? samy.navab Linux - Newbie 1 08-21-2005 03:08 PM


All times are GMT -5. The time now is 03:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration