<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19019">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Again, perl is not my specialty, but spawn a
background watchdog process that sleeps 40 seconds than kills the parent if it
is still alive.</FONT></DIV>
<DIV><FONT size=2 face=Arial>Similarly, have the parent kill the child
(watchdog) just before it exits if it completes its task.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>-the other craig</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=craigesmith@gmail.com href="mailto:craigesmith@gmail.com">Craig
Smith</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeradius-users@lists.freeradius.org
href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, March 21, 2011 4:51
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: $75.00 USD Bounty</DIV>
<DIV><BR></DIV>
<DIV>Hi again,</DIV>
<DIV><BR></DIV>
<DIV>Okay, I have everything running, but I have one more question.</DIV>
<DIV><BR></DIV>
<DIV>Is there a way to adjust the timeout of the scripts being exec?</DIV>
<DIV><BR></DIV>
<DIV>I get the following error. I'm looking to make the timeout around 40
seconds.</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>Error: Child PID 16599 is taking too much time: forcing failure
and killing child.
<DIV><BR></DIV>
<DIV>Thanks,</DIV>
<DIV><BR></DIV>
<DIV>Craig<BR><BR>
<DIV class=gmail_quote>On Mon, Mar 21, 2011 at 12:27 PM, Craig Smith <SPAN
dir=ltr><<A
href="mailto:craigesmith@gmail.com">craigesmith@gmail.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>Alan,
<DIV><BR></DIV>
<DIV>I am also finding the documentation semi helpful. So I put:</DIV>
<DIV><BR></DIV>
<DIV>
<DIV><SPAN style="WHITE-SPACE: pre-wrap"></SPAN>exec {</DIV>
<DIV><SPAN style="WHITE-SPACE: pre-wrap"></SPAN>program =
"/path/to/program/exec-program-wait" <-- I know I need to change
this</DIV>
<DIV><SPAN style="WHITE-SPACE: pre-wrap"></SPAN>wait = yes</DIV>
<DIV><SPAN style="WHITE-SPACE: pre-wrap"></SPAN>input_pairs = request</DIV>
<DIV><SPAN style="WHITE-SPACE: pre-wrap"></SPAN>output_pairs = reply</DIV>
<DIV><SPAN style="WHITE-SPACE: pre-wrap"></SPAN>}</DIV>
<DIV><SPAN style="WHITE-SPACE: pre-wrap"><BR></SPAN></DIV>
<DIV>In /etc/freeradius/modules/exec.</DIV></DIV>
<DIV><BR></DIV>
<DIV>Now how do make my authentication request use exec?</DIV>
<DIV><BR></DIV>
<DIV>Thanks,</DIV>
<DIV><BR></DIV><FONT color=#888888>
<DIV>Craig</DIV></FONT></BLOCKQUOTE></DIV><BR></DIV>
<P>
<HR>
<P></P>-<BR>List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html<BR><BR><BR>__________ Information
from ESET Smart Security, version of virus signature database 5972 (20110321)
__________<BR><BR>The message was checked by ESET Smart
Security.<BR><BR>http://www.eset.com<BR><BR></BLOCKQUOTE><BR>
<BR>
__________ Information from ESET Smart Security, version of virus signature database 5972 (20110321) __________<BR>
<BR>
The message was checked by ESET Smart Security.<BR>
<BR>
<A HREF="http://www.eset.com">http://www.eset.com</A><BR>
</BODY></HTML>