<html>
On Wed, Feb 20, 2002 at 08:36:40PM +0800, ?d?K?? wrote:
> Hi,
> 
> I am just a beginner.

Yes.  <blink>Don't send HTML!

> Could anyone tell me how to use the Exec-Program attribute?
> I want to use freeradius with some other program so I set the USERS files as follows:
> 
> Bob  Auth-Type:=Local, Password="asfd", Exec-Program:="/bin/ls > /root/test"
> Reply-Message="hello!!!!"

Are you sure that the user the server is running as can write to /root/test ?
I haven't checked the code, but redirection man not work, anyway, if the
code isn't running a shell.  If you must do redirection, you may have to use
"/bin/sh -c ..."

Alan's suggestion of looking at the tarball-included example file should help.

> Thanking in advance

Thank us by changing your mailer to send text ONLY.</blink>


-- 
Chad Miller <[EMAIL PROTECTED]>
<url: http://www.advogato.org/person/cmiller/>
  ``Having a smoking section in a restaurant is 
    like having a peeing section in a pool.''

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

Reply via email to