On Thu, Jan 24, 2002 at 12:37:35PM +1100, George Vieira 
([EMAIL PROTECTED]) wrote:
> Has anybody got this running lately? I used to use this in the days of
> RH5.0/5.1 and now can't get it working at all..
> 
> I've read the `man hosts.deny` but the example doesn't work for me... it
> simple doesn't execute the script.
> 
> I've tried:
> 
> ALL:            ALL | (/bin/hosts.deny.script %d %a %h) &   #(6 year memory
> of how I did it before)
> ALL:            ALL:  (/bin/hosts.deny.script %d %a %h) &   #(as per man
> hosts.deny)


ALL : ALL : spawn ( /usr/sbin/safe_finger -l @%h | /usr/bin/Mail -s "HOSTNAME\: Host 
denied\: %d from %c(%u)-%h" YOUREMAILADDRESS) &


repalce HOSTNAME with each host of the hosts.deny file
replace YOUREMAILADDRESS with some postmaster/root account


jobst


-- 
Why are a wise man and a wise guy opposites?

             __, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director
   _ _.--'-n_/   Barrett Consulting Group P/L & The Meditation Room P/L      
 -(_)------(_)=  +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to