[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/hosts.deny "booby trap"



On 12-Dec-1999 Mark Wagnon wrote:
> On 12/11/99 06:54PM, Pollywog wrote:
>> 
>> Try something like this:
>> 
>> ALL:ALL : spawn (echo Attempt from %h %a to %d at `date` | tee -a
>> /var/log/tcp.deny.log |mail your@emailaddresshere.com)
>> 
> 
> I gave this a shot, but nothing happened. Apparently I don't have a
> spawn command on my machine. I have a spawn_console and a
> spawn_login, and neither have man pages.

I believe "spawn" is part of the bash shell.
It seems to work for me.

--
Andrew


Reply to: