Messages in this thread |  | | From | "Daniel Linder" <> | Subject | Re: motd | Date | Tue, 24 Sep 1996 14:33:13 -0500 |
| |
Daniel Lafraia <lafraia@cpu.iron.com.br> wrote: > Is there any way to execute a file using /etc/motd ?
I made a "dynamic finger" so that whenever the fingerd read from my .plan file, it would actually be opening a named pipe into a shell script that did some other lookups and then spit back text. The only downfall is that the named pipe would hang if the process died so I had an irate sysadmin who said I had to take that off. At any rate a named pipe is what you need (mknod and related programs), but I don't really know the exact steps I did to do this. Read up on man pages and what-not on mknod and the pipe commands...
Dan
--- Daniel Linder -- WebCentric Communications (402) 346-9466 http://www.webcentric.net
|  |