On 0, Brandt Dusthimer <[EMAIL PROTECTED]> wrote: > As bonkers as this might seem, does any one know if there is any way of > setting up a file (like a motd file) so that it uses the output of a > program like fortune?
I think if you could get fortune to write to a FIFO then you would be
laughing. If you don't mind using something other than fortune, then
signify handles this fairly gracefully. Try something like this:
rm /etc/motd
mkfifo /etc/motd
signify --fifo=/etc/motd --input=/etc/logout-messages
cat /etc/motd
You will, of course, need to supply a list of logout messages
appropriate for your site.
Tom
--
Tom Cook
Information Technology Services, The University of Adelaide
"Beware of computer programmers that carry screwdrivers."
- Leonard Brandwein
Get my GPG public key:
https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au
pgpBzvSkNMdEV.pgp
Description: PGP signature

