hello all,
i have added the following lines in acct_users file
DEFAULT Acct-Status-Type == Start
Exec-Program-Wait = "/usr/local/start.sh"
DEFULT Acct-Status-Type == Stop
i have added the following lines in acct_users file
DEFAULT Acct-Status-Type == Start
Exec-Program-Wait = "/usr/local/start.sh"
DEFULT Acct-Status-Type == Stop
Exec-Program-Wait = "/usr/lcal/stop.sh"
started radius in debug mode and i haven't seen Exec-Program-Wait
executing those scripts.
started radius in debug mode and i haven't seen Exec-Program-Wait
executing those scripts.
It works fine, however, I want to execute different script depending on the user group. I read from a DB for passing my radius attributes. I pass attribute Exec-Program-Wait and each username executes its one script well.
However, how can I say to the freeradius that it does the same when a username does a Acct-Status-Type == stop using my DB instead of acct_users file?
Thanks!
Ofertas y reservas para viajar por todo el mundo. Organiza y contrata tus viajes aquí.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

