LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 11-22-2007, 11:15 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Rep: Reputation: 53
About wall command


Hi folks,


About "wall", the broadcasting command, notifying the users of important notice by Adminstration. Only the login users can receive the broadcasting message. If a message, e.g. notifying the users of the shutdown of the server for repair after half an hour and advising them saving their work, those users who login after broadcasting may NOT be aware of the message. Any suggestion? TIA


B.R.
satimis
 
Old 11-22-2007, 12:16 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
That must be why it is traditionally repeated on an increasingly frequent interval.
--- rod.
 
Old 11-22-2007, 12:50 PM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Change /etc/motd to tell the users when the shutdown will happen.

Dave
 
Old 11-22-2007, 08:48 PM   #4
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by ilikejam View Post
Change /etc/motd to tell the users when the shutdown will happen.
Hi Dave,


Thanks for your advice.

/etc/motd is text file. "Man motd" doesn't provide much info.

Whether login as super user to edit this file putting the msg there? If YES, then each time the msg has to be deleted afterwards.

TIA

satimis
 
Old 11-23-2007, 04:12 AM   #5
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

The contents of /etc/motd are displayed whenever anyone logs in, and yes you'll have to be root to change it, and yes you'll have to edit the file once the shutdown has been completed to remove the message (or you could have an init script which resets motd during the shutdown).

Dave
 
  


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
Wall command cjagdish69 Linux - Server 3 04-27-2007 06:42 AM
wall command won't work WilliamS Slackware 1 02-23-2007 12:54 AM
Is users whom have access to `wall` command a security risk? jon_k Linux - Security 1 08-31-2004 08:31 PM
fire wall berrance Red Hat 2 08-21-2004 12:55 PM
wall command not outputing to screen aaronj Fedora 1 06-11-2004 04:40 AM


All times are GMT -5. The time now is 05:33 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration