User Tools

Site Tools


eg-253:network:step1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
eg-253:network:step1 [2011/11/03 14:04] – [Create normal users] eechriseg-253:network:step1 [2011/11/03 14:07] (current) – [Message of the Day and System Log] eechris
Line 103: Line 103:
 ===== Message of the Day and System Log ===== ===== Message of the Day and System Log =====
  
-When you login to a Unix machine, the system usually displays the contents of the system file ''/etc/motd'' (motd = Message of the Day). You can edit this to issue messages that you would want to display to your users when they login. Such messages typically consist of information about the machine itself, (for example to identify the host), contact email for the system administrator, and important changes to the system or planned maintenance, etc. I have been around to all machines and provided a MOTD for each of the machines that you configured in the last lab. I suggest that you edit this to correct any errors or omissions, and to customize it for yourself and your team:+When you login to a Unix machine, the system usually displays the contents of the system file ''/etc/motd'' (motd = Message of the Day) which is regenerated at every system boot and user login. You can edit a file ''/etc/moted.tail'' to customize this system message to include messages that you would want to display to your users when they login. Such messages typically consist of information about the machine itself, (for example to identify the host), contact email for the system administrator, and important changes to the system or planned maintenance, etc. I suggest that you edit this file to customize it for the host you have configured, yourself and your team:
  
 <cli> <cli>
-icct@myhost:~$ sudo nano /etc/motd+icct@myhost:~$ sudo nano /etc/motd.tail
 </cli> </cli>
  
-Please ensure that, as a minimum, each member of your team and his/her email address is given and that you point to a system log. The system log itself is to be called ''/var/log/hostname.log''. You should create such a file on each host that you have configured. Each entry is a line of format:+Please ensure that, as a minimum, each member of your team and his/her email address is given and that you point to a system log. The system log itself is to be called ''/var/log///hostname//.log''. You should create such a file on each host that you have configured. Each entry is a line of format:
  
   2006-mm-dd log entry   2006-mm-dd log entry
eg-253/network/step1.1320329066.txt.gz · Last modified: 2011/11/03 14:04 by eechris