Parsing Value with External Script

Peter Lambrechtsen peter at
Sat Jul 8 05:59:59 CEST 2017

Why would you want to use an external script. If it's a fixed value per
user then why not use files. Then have that match to the user and return
the value you want.

test_user Framed-Pool := Foovalue


Then you call files when you need to.

I tend to avoid calling external scripts as they are slow and if they crash
or memory leak for whatever reason it can take down your whole server.

On 8/07/2017 09:01, "Jean Tomaz" <jean_ts at> wrote:

I have a question.
I need to pass a value to Framed-Pool attribute only to one user, using an
external script.

My file /etc/freeradius/users

user_test Cleartext-Password := "testing"
    Auth-Type := Accept
    Framed-Protocol = PPP
    Framed-Pool = `%{exec:/bin/echo foo}`
    Fall-Through = Yes

It's not working. What it's happening?

Using the freeradius debug the Framed-Pool attribute is appearing empty.
List info/subscribe/unsubscribe? See

More information about the Freeradius-Users mailing list