/etc/host.deny

Physics_UID ph03797 at cc.uoi.gr
Mon Jan 19 18:09:28 EET 1998


Koita3te stin URL : http://www.uwsg.indiana.edu/hypermail/linux/net/9507/0166.html


Ena komati apo tin URL fainetai parakato:



Thanks to everyone who replied. For reference, the answer is:

An extension was made to libwrap.a to allow more flexible commands to
be executed. Though the slackware binary I'm using was compiled to use
this option, the man page doesn't mention it, which is unfortunate. There
is also little reason why the extension could not be back compatible.

However, the solution is to add spawn = i.e.

ALL:ALL:spawn = (/usr/sbin/safe_finger -l @%h | /bin/mail -s %d-%h root) &

similarly there is the option twist which sends its output to the
remote client:

ALL:ALL:twist = echo '%h may not connect to this server'

It would be nice if the slackware manpage described this...

Alex

----------------------------+-------------+-----------------------------
Alex Bligh : ,-----. :
Computer Concepts Ltd. : : : alex at cconcepts.co.uk
Gaddesden Place : : ,-----. :
Hemel Hempstead : `-+---` ` : Tel. +44 1442-351000
Herts. UK HP2 6EX : | , : Fax. +44 1442-351010
: `-----` :
----------------------------+-------------+-----------------------------



Euxaristo.
Hlias.
Bye.
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list