Linda,

To quote the man page for motd(5): "The  contents of /etc/motd are displayed
by login(1) after a successful login but just before it executes  the  login
shell."  My system also has a login script for sh|ksh that is exed's where
appropriate (called /etc/profile.ksh) that /bin/cat's the text file
/etc/motd.  You could change it to output the correct text depending on
context.

A more simple approach may be to use cron(8) or at(1) to simply change the
content of /etc/motd as appropriate from a selection of canned messages.

Hope that helps.

Cheers,
-Ron


-----Original Message-----
From: linda hanigan [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 10, 2000 9:44 PM
To: [EMAIL PROTECTED]
Subject: message of the day - sorry the first one was not plain text

Sorry about the wrong format. Mail program got reset by accident.
Hi all,
I was wondering if there was a program out there that worked like motd
but would allow you to have a file of messages to cycle through. I thought
it would be a nice way to help people to remember things that they don't
use everyday, like alt-ctrl-BS to kill xwindows.
                       Thanks
                       Linda


--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to