MOTD.TAIL(5) Debian Administrator's Manual MOTD.TAIL(5)NAME
motd.tail - Template for building the system message of the day
DESCRIPTION
On Debian systems, the system message of the day is rebuilt at each startup, in order to display an accurate information. /etc/motd.tail is
the file to edit permanent changes to the message of the day.
OVERVIEW
The initiation script /etc/init.d/bootmisc.sh prepends a line containing information about the system to /etc/motd.tail and stores the
resulting file in /var/run/motd. /etc/motd is a symbolic link to /var/run/motd. This is done to prevent changes to /etc as the system can
not assume /etc to be writable.
Changes to /etc/motd effectively end up in a file under /var/run which will be regenerated upon reboot.
A symbolic link to a different file, such as /etc/motd.static disables this behaviour.
FILES
/etc/init.d/bootmisc.sh
The initiation script which builds /var/run/motd
/etc/motd
Symbolic link to the system message of the day at /var/run/motd
/etc/motd.tail
Template for building the system message of the day
/var/run/motd
System message of the day file rebuilt at each computer start
SEE ALSO login(1), issue(5), motd(5).
Debian 2007-04-28 MOTD.TAIL(5)
Check Out this Related Man Page
imapd(8) System Manager's Manual imapd(8)NAME
imapd - Internet Message Access Protocol (IMAP) server process
SYNOPSIS
/usr/sbin/imapd
DESCRIPTION
The IMAP4rev1 server, imapd, accepts commands on its standard input and responds on its standard output. It is normally invoked by the
inetd command and it reads its configuration options out of the imapd.conf file.
If you want to take the IMAP server off line for a period of time, you should notify the client systems. To do this, create a msg/shutdown
file, edit it, and state the reason for the shut down. Set the owner of the msg directory and the shutdown file to be the imap user. When
a client system tries to access the server, imapd sends the first line contained in the shutdown file to the client and closes the connec-
tion.
If you want to send a message to the IMAP clients without disabling connections, create a msg/motd file, edit it, and add your message.
Set the owner of the msg directory and the motd file to be the imap user. The server sends the first line contained in the file to the
clients upon connection as an ALERT message, which IMAP-compliant clients are required to display. Access to mailboxes is unaffected.
For debugging purposes, create a log/user directory. When this directory exists, the imapd daemon creates protocol telemetry logs for ses-
sions authenticating as user. The telemetry logs are stored in the log/user directory with the file name of the imapd process id.
The msg/shutdown and msg/motd files and the log/user directory should be created under the directory specified in the configdirectory con-
figuration option of the imapd.conf file. The default value is /var/imap, as in /var/imap/msg/motd.
FILES
Configuration file for the IMAP server
SEE ALSO
Commands: cyradm(1), deliver(8), imapd(8), imapquota(8), inetd(8), reconstruct(8)
Files: imapd.conf(4)
Network Administration
imapd(8)
Anyone know how to change the location of the MOTD file from the default /etc/motd?
An annoying person with root access has found out how to edit the file and change my MOTDs.
Help me. (14 Replies)
hai
in my shell script i want to replace the following commands
1) more
2) head
3) tail
i want to try all type of possible options avaliabul in the above commands
please help in implementing those commands (9 Replies)
Hi all this is simple but bad day for me nothing work out ..
Problem is that I wan to check the argument passed to my script and accordignly exit or setup ENV variable
I have a script name src_cpcp_preproc.sh
i want to pass 2 argumet from command line argumet and check it in the script... (13 Replies)
Hi Everyone ,
I am facing a strange problem
i have made the follwing script to watch a appending log file (abc.log) but its not moving after the line tail -f ,
any suggestions
=====================================
#!/bin/bash
while true
do
tail -f abc.log | grep "exceptions"
echo hi... (12 Replies)
Hi experts,
I am facing a big problem. i use solaris 9. i found size of /var is increasing day by.
snapshot of a yester moring-
/dev/vx/dsk/var 15G 14G 1.1G 94% /var
snapshot of a yesterday everning-
/dev/vx/dsk/var 15G 14G 824M 95% /var
I am... (11 Replies)
Hy,
I would like to extract lines within following file,
4TX + 4XFUT + 4XBACK + 4Xexp:
theo. actual
start of day: -2 5
end of day: 5 4
profit: 2 -1
====================
trade profit: 9 -2... (9 Replies)
I have a fixed length file (854 characters file).
Our project will start getting this file soon. On the first day this file will have 100000 records. From the next day the file will have all the records from previous day + some new records (there will be few additions + few changes in day1... (13 Replies)
Hi,
I want to run a script for continuous ping for a day then delete the previous day after checking if there is a gap in between with the other servers connectivity. Output the result in a /tmp file everyday. Mainly i am trying to troubleshoot cacti graph gap i am seeing in certain time in a... (15 Replies)
Hi there,
I'm working on a Suse 8 based system and picked up that the crontab was missing. after some investigation i realized that the hole /var directory is missing. :mad:
I would like to now if its common for this directory to go missing?
Can I copy another Suse 8 /var directory to this... (10 Replies)
Hi All,
I have a script, I want to make sure the script should check whether the day is sunday, only then it should run, if it is run other days it should check and exit the script.
Kindly help.
Thanks in Advance !! (41 Replies)
I have been using the Unix tutorial from Berkeley and I am stuck. I cannot figure out how to copy the "motd" file from the "etc" directory into the "test" directory while I'm in the "test" directory. I believe that is the goal of this step in the tutorial but if I am wrong, please explain. I... (10 Replies)
I'm working on an rsync script and I'd like it to omit the MOTD banners and NOT output them to the file. I tried the --no-motd argument in the command but for some reason the MOTD still continues to appear. Can anyone advise? (10 Replies)
Hello,
I would like to write script to tail a file for different environment
But the number of lines are keep changing
How can I write a script
For example:
env could : A, B or C
and log files could be a.log, b.log and c.log
with the number of lines can change
say sometimes it 100 last... (9 Replies)