* [SUMMARY:]questions about hosts.deny
@ 2001-07-16 18:35 WScates
0 siblings, 0 replies; only message in thread
From: WScates @ 2001-07-16 18:35 UTC (permalink / raw)
To: tru64-unix-managers
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C10E26.17B6B300", Size: 4775 bytes --]
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_01C10E26.17B6B300
Content-Type: text/plain;
charset="iso-8859-1"
Thanks for all the replies I received.
The solution was proved by Frank Wortner, who suggested I use /bin/Mail and
not /bin/mail (which does not support the -s subject).
-Will
-----Original Message-----
From: WScates@amc.jccbi.gov [mailto:WScates@amc.jccbi.gov]
Sent: Monday, July 16, 2001 11:42 AM
To: tru64-unix-managers@ornl.gov
Subject: 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_01C10E26.17B6B300
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>questions about hosts.deny</TITLE>
<XETA
CONTENT="text/html; charset=iso-8859-1" HTTP-EQUIV="Content-Type"><XETA
CONTENT="MS Exchange Server version 5.5.265312" NAME="Generator">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=904333418-16072001><FONT face=Arial color=#0000ff size=2>Thanks
for all the replies I received. </FONT></SPAN></DIV>
<DIV><SPAN class=904333418-16072001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=904333418-16072001><FONT face=Arial color=#0000ff size=2>The
solution was proved by Frank Wortner, who suggested I use /bin/Mail and not
/bin/mail (which does not support the -s subject).</FONT></SPAN></DIV>
<DIV><SPAN class=904333418-16072001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=904333418-16072001><FONT face=Arial color=#0000ff
size=2>-Will</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader><FONT face="Times New Roman"
size=2>-----Original Message-----<SPAN class=904333418-16072001><FONT
face=Arial color=#0000ff> </FONT></SPAN></FONT></DIV>
<DIV class=OutlookMessageHeader><FONT face="Times New Roman" size=2><SPAN
class=904333418-16072001> </SPAN><B>From:</B> WScates@amc.jccbi.gov
[mailto:WScates@amc.jccbi.gov]<BR><B>Sent:</B> Monday, July 16, 2001 11:42
AM<BR><B>To:</B> tru64-unix-managers@ornl.gov<BR><B>Subject:</B> questions
about hosts.deny<BR><BR></DIV></FONT>
<P><FONT face=Arial size=2>Hello everyone,</FONT> </P>
<P><FONT face=Arial size=2>I have a quick question about spawning executables
in the /etc/hosts.deny file.</FONT> </P>
<P><FONT face=Arial size=2>I know that on a Sun box I can preform the
following, and receive the correct responce:</FONT> </P>
<P><FONT face=Arial size=2>/ect/hosts.deny :</FONT> </P>
<P><FONT face=Arial size=2>ALL:ALL: spawn ( echo -e " Attempted connection
from %c for %d (pid %p)" | mail -s "From ghost@$(uname -n) \: %d" ghostd@ids
)</FONT></P>
<P><FONT face=Arial size=2>On Linux (specifically Slackware) I can preform the
same thing with the following:</FONT> </P>
<P><FONT face=Arial size=2>ALL:ALL: spawn /bin/echo -e " Attempted connection
from %c for %d (pid %p)" | /bin/mail -s "From ghost@$(uname -n)\ : %d"
ghostd@ids</FONT></P>
<P><FONT face=Arial size=2>I have tried both ways (and variants between) on my
alpha testing box, which is a DEC 3000 running v4.0g, with no luck.</FONT>
</P>
<P><FONT face=Arial size=2>Could someone point me in the right
direction? Wheither it's documents or personal experience.</FONT>
</P><BR>
<P><FONT face=Arial size=2>Thanks,</FONT> </P>
<P><FONT face=Arial size=2>William Scates</FONT> <BR><FONT face=Arial
size=2>SMF UNIX Systems Administrator</FONT> <BR><FONT face=Arial size=2>OAO /
FAA @ MMAC</FONT> <BR><FONT face=Arial size=2>wscates@amc.jccbi.gov</FONT>
</P></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C10E26.17B6B300--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-07-16 18:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-16 18:35 [SUMMARY:]questions about hosts.deny WScates
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox