$75.00 USD Bounty

Craig Campbell craig.campbell at ccraft.ca
Mon Mar 21 22:47:54 CET 2011


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.
Similarly, have the parent kill the child  (watchdog) just before it exits if it completes its task.

-the other craig
  ----- Original Message ----- 
  From: Craig Smith 
  To: freeradius-users at lists.freeradius.org 
  Sent: Monday, March 21, 2011 4:51 PM
  Subject: Re: $75.00 USD Bounty


  Hi again,


  Okay, I have everything running, but I have one more question.


  Is there a way to adjust the timeout of the scripts being exec?


  I get the following error. I'm looking to make the timeout around 40 seconds.






  Error: Child PID 16599 is taking too much time: forcing failure and killing child.


  Thanks,


  Craig


  On Mon, Mar 21, 2011 at 12:27 PM, Craig Smith <craigesmith at gmail.com> wrote:

    Alan,


    I am also finding the documentation semi helpful. So I put:


    exec {
    program = "/path/to/program/exec-program-wait" <-- I know I need to change this
    wait = yes
    input_pairs = request
    output_pairs = reply
    }


    In /etc/freeradius/modules/exec.


    Now how do make my authentication request use exec?


    Thanks,


    Craig




------------------------------------------------------------------------------


  -
  List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


  __________ Information from ESET Smart Security, version of virus signature database 5972 (20110321) __________

  The message was checked by ESET Smart Security.

  http://www.eset.com




__________ Information from ESET Smart Security, version of virus signature database 5972 (20110321) __________

The message was checked by ESET Smart Security.

http://www.eset.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110321/eecae374/attachment.html>


More information about the Freeradius-Users mailing list