tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Hugh Pritchard <Hugh.Pritchard () wcom ! com>
To: tru64-unix-managers
Subject: date command when read /etc/motd?
Date: Thu, 12 Aug 1999 15:39:00 +0000	[thread overview]
Message-ID: <96079067215943.tru64-unix-managers.marc@archive.invalid> (raw)

The consensus was to write a short script to rewrite /etc/motd
and to run it from crontab as often as needed.  Most people refrained
from commenting on my political problem of trying to make users pay
attention.

I did have a memory of, on VMS, there being a way to (elegantly?)
force the current time into SYS$ANNOUNCE.  No need for force with
Unix.

Original question:
------------------
Anyone have an implementation (elegant or not) of presenting the
output of a date command when anyone reads the /etc/motd file?  I
know I can just put "Attention, Y2K testers: Date is `date`" in
/etc/profile, but they tend to ignore stuff that isn't on the very
last line of output.  I'd like to put this line, by means of a pipe,
ksh co-process, or whatever works, at the end of /etc/motd.  If you
have some code or ideas, thanks.

     Hugh

     Hugh.Pritchard@WCom.com (or 9007944@pageMCI.com to my pager)
     (703) 341-6995;  page 1-888-900-7944; FAX (703) 341-9126

             reply	other threads:[~1999-08-12 15:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-12 15:39 Hugh Pritchard [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-08-06 19:56 date command when read /etc/motd? Hugh Pritchard
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox