I've tried adding:

DEFAULT         Exec-Program-Wait = "/shell/example"

to the users file.  I also uncommented "files" in the "authorize" section of
radius.conf.  After restarting the radius server with these set (and the
example from /scripts/exec-program-wait) the example script is still not
being run.

So basically, I'm still trying to get an attribute to be used for every
user.  Everything else is SQL so I think that it might be skipping the users
file and going straight to SQL.

- Mike




----- Original Message -----
From: "Alan DeKok" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 11, 2002 3:55 PM
Subject: Re: Fw: MySQL-Proxy-Exec-Program-Wait


> "Mike Dain" <[EMAIL PROTECTED]> wrote:
> > Now I'm trying to add in an Exec-Program-Wait script.  I don't care
> > if it only runs for proxy users or if it runs for everyone, I just
> > need to add in that attribute/value (Exec-Program-Wait/scriptname)
> > to everyone that logs in.  Can someone tell me how to add in
> > attributes that effect all users.
>
>   See 'scripts/exec-program-wait'.  It has examples.
>
> > The server doesn't use the "users" file or system at all (it only
> > authenticates using SQL).
>
>   <shrug> So add a 'users' file with nothing more than the DEFAULT
> statement, which does the Exec-Program-Wait.
>
>   Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


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

Reply via email to