[lkml]   [1996]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: motd
Daniel Lafraia <> 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


Daniel Linder -- WebCentric Communications
(402) 346-9466

 \ /
  Last update: 2005-03-22 13:37    [W:0.023 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site