From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653652421876.tru64-unix-managers.marc@archive.invalid> From: WScates () amc ! jccbi ! gov Date: Mon, 16 Jul 2001 16:42:26 +0000 To: tru64-unix-managers Subject: questions about hosts.deny X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653652421876 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_01C10E16.4B6D2CC0" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C10E16.4B6D2CC0 Content-Type: text/plain; charset="iso-8859-1" Hello everyone, I have a quick question about spawning executables in the /etc/hosts.deny file. I know that on a Sun box I can preform the following, and receive the correct responce: /ect/hosts.deny : ALL:ALL: spawn ( echo -e " Attempted connection from %c for %d (pid %p)" | mail -s "From ghost@$(uname -n) \: %d" ghostd@ids ) On Linux (specifically Slackware) I can preform the same thing with the following: ALL:ALL: spawn /bin/echo -e " Attempted connection from %c for %d (pid %p)" | /bin/mail -s "From ghost@$(uname -n)\ : %d" ghostd@ids I have tried both ways (and variants between) on my alpha testing box, which is a DEC 3000 running v4.0g, with no luck. Could someone point me in the right direction? Wheither it's documents or personal experience. Thanks, William Scates SMF UNIX Systems Administrator OAO / FAA @ MMAC wscates@amc.jccbi.gov ------_=_NextPart_001_01C10E16.4B6D2CC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable questions about hosts.deny

Hello everyone,

I have a quick question about spawning = executables in the /etc/hosts.deny file.

I know that on a Sun box I can preform = the following, and receive the correct responce:

/ect/hosts.deny :

ALL:ALL: spawn ( echo -e " = Attempted connection from %c for %d (pid %p)" | mail -s "From = ghost@$(uname -n) \: %d" ghostd@ids )

On Linux (specifically Slackware) I = can preform the same thing with the following:

ALL:ALL: spawn /bin/echo -e " = Attempted connection from %c for %d (pid %p)" | /bin/mail -s = "From ghost@$(uname -n)\ : %d" ghostd@ids

I have tried both ways (and variants = between) on my alpha testing box, which is a DEC 3000 running v4.0g, = with no luck.

Could someone point me in the right = direction?  Wheither it's documents or personal experience.


Thanks,

William Scates
SMF UNIX Systems Administrator
OAO / FAA @ MMAC
wscates@amc.jccbi.gov

------_=_NextPart_001_01C10E16.4B6D2CC0--