Display message to users

How am I going to display message to all users that log into my workstation
(O/S: Red Hat 6.0)?

For example: After successfully login,
display a short notice like:
Pls save your works by 5.00 pm as the network will be down for maintenance.

Pls advise and thanks.
qiang8Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
j2Connect With a Mentor Commented:
Edit /etc/issue and /etc/issue.net  Most distributions restes these on bootup, so you might want to check /etc/rc.d/rc.local aswell.
0
 
rbrCommented:
wall Pls save your works by 5.00 pm as the network will be down for maintenance.
0
 
qiang8Author Commented:
To rbr:

Sorry, I didn't make nyself clear.
The warning message should be like this:

LINUX 6.0

#
#WARNING:  You must have specific #authorization to access this machine.  #All accesses are logged. Do not    #remain logged into this machine after #you have completed your task.
#

login: qiang8
Password:
Last login: Sat Dec  4 11:59:56 from 10.160.164.212
 
 
0
 
nshupeCommented:
modify /etc/motd

It requires a good login however to get the message.

0
 
qiang8Author Commented:
Thanks.
0
All Courses

From novice to tech pro — start learning today.