|
Hi,
I'm new to radius and linux. I tried to use SQLPLUS in radauth , is it possible? following
is my radauth:
#! /bin/sh
#
radauth
/u01/app/oracle/product/8.1.7/bin/sqlplus -silent radius/alex@orcl <<sqleof insert into radtmp values($USERNAME,$CALLEDSTATIONID); exit sqleof exit 0 In the database, I've written a row level trigger
to calculate the credit time based on unit price, credit amount and
calledstationid. also in the trigger i'll insert the credit-time AVpair into
radreply.
my problem is :
it returns "sqlplus: command not found" , but when
loging as root, i can run radauth,
Exec-Program: /usr/local/bin/radauth /usr/local/bin/radauth: sqlplus: command not found Exec-Program: returned: 0 what's wrong? can anyone help me?
Alex Zhang
|
