On Mon, Mar 10, 2003 at 11:41:21AM +0200, Lorin wrote: > I have a little problem with the configuration of hosts.allow. If a certain > rule matches i want a command to be executed. Here's a sample from my hosts.deny that may get you started: ALL: ALL: spawn echo tcpwrap has detected an unauthorised connection attempt\ from %h %a to %d at `date`|tee -a /var/log/secure|mail -s 'Unauthorized \ Connection attempt' root -- Ed Wilts, Mounds View, MN, USA mailto:ewilts@xxxxxxxxxx Member #1, Red Hat Community Ambassador Program -- Psyche-list mailing list Psyche-list@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/psyche-list