LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 08: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, 10:21 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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



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 12:20 AM
Change frequency of shutdown's broadcast message? fogwatch Linux - General 2 10-29-2009 02:48 AM
Broadcast message - example linux_newbie79 Linux - Newbie 1 09-02-2009 05:18 AM
Broadcast a message Fredde87 Linux - Networking 2 04-14-2008 03: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 02:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:32 AM.

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
Open Source Consulting | Domain Registration