Amedzekor Kafui <[EMAIL PROTECTED]> wrote:
> If the exec-program-wait is written in C/C++ do I
> necessarily need to system ("echo Framed-IP-Address =
> 255.255.255.255") to get the replies back to the NAS.
>
> Can I use printf to achieve the same effect?
Yes.
Alan DeKok.
-
List info/subsc
On Jul 26, 2004, at 06:58, Thor Spruyt wrote:
Hi,
I have freeradius 0.9.3 running with Postgresql database backend.
The only thing the radius checks is the password and then executes an
external script if authentication is ok.
The section in the users file is:
DEFAULT Auth-Type = Local
t: Monday, July 26, 2004 4:16 PM
Subject: Re: Exec-Program-Wait attributes not included in Access-Accept
> On Mon, Jul 26, 2004 at 03:58:37PM +0200, Thor Spruyt wrote:
> > I have freeradius 0.9.3 running with Postgresql database backend.
> > The only thing the radius checks is the passw
On Mon, Jul 26, 2004 at 03:58:37PM +0200, Thor Spruyt wrote:
> I have freeradius 0.9.3 running with Postgresql database backend.
> The only thing the radius checks is the password and then executes an
> external script if authentication is ok.
> The section in the users file is:
> DEFAULT
Andrea Gabellini <[EMAIL PROTECTED]> wrote:
> I need to use Exec-Program, but I need also the Sql-Group variable.
> Actually It's not passed to the environment.
The request items are added to the environment in Exec-Program-Wait.
That can't be changed. if SQL-Group isn't in the request items,
Doug Hardie wrote:
Are you sure you are looking in the right directory? Since you didn't
specify the full path, it uses whatever it has as a working path at
that point. It may not be one that is obvious. Try specifying the
complete path. Also run it by hand to be sure the permissions are
c
Are you sure you are looking in the right directory? Since you didn't
specify the full path, it uses whatever it has as a working path at
that point. It may not be one that is obvious. Try specifying the
complete path. Also run it by hand to be sure the permissions are
correct.
On Apr 13,
Karl Pielorz <[EMAIL PROTECTED]> wrote:
> If I remove the "Exec-Program-Wait" from the radreply table, then post-auth
> get's invoked when the user logs in.
>
> Are the two mutually exclusive?
Yes. You should use rlm_exec instead.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http:/
Fri, 23 Jan 2004, Alan DeKok писал(а):
> Andrei Loukinykh <[EMAIL PROTECTED]> wrote:
> > So I started FR as root:daemon and gave the same own's to the program.
> > Still the same.
> > May be FR changes effective uid/gid for the external program it runs...?
>
> No.
>
> Can you say what platf
Andrei Loukinykh <[EMAIL PROTECTED]> wrote:
> So I started FR as root:daemon and gave the same own's to the program.
> Still the same.
> May be FR changes effective uid/gid for the external program it runs...?
No.
Can you say what platform you're running on?
Alan DeKok.
-
List info/subs
Fri, 23 Jan 2004, Albert Miles Enabe писал(а):
> In my Linux box, my radiusd starts up as a daemon, so I did this:
>
> chown daemon:root setexpiredate
>
> where setexpiredate is an external C program specified in Exec-Program
> in radiusd.conf.
May be it's stupid, but I tried to run FR as roo
>Thu, 22 Jan 2004, Alan DeKok ÐÉÓÁÌ(Á):
>
> > Andrei Loukinykh <[EMAIL PROTECTED]> wrote:
> > > I'm trying to get my external program to work ( which is in fact -
> > > a billing program for users' accounting)
> >
> > Which version are you using? If you're not using 0.9.3, upgrade to
> > i
Thu, 22 Jan 2004, Alan DeKok писал(а):
> Andrei Loukinykh <[EMAIL PROTECTED]> wrote:
> > I'm trying to get my external program to work ( which is in fact -
> > a billing program for users' accounting)
>
> Which version are you using? If you're not using 0.9.3, upgrade to
> it, and then see if
Andrei Loukinykh <[EMAIL PROTECTED]> wrote:
> I'm trying to get my external program to work ( which is in fact -
> a billing program for users' accounting)
Which version are you using? If you're not using 0.9.3, upgrade to
it, and then see if the problem persists.
Alan DeKok.
-
List info/s
Thu, 22 Jan 2004, Christian Richter писал(а):
> Better should be to let Freeradius access the needed files as nobody.
> Other idea is to put the binary in a group, where it can read the files
> (chown : ).
> To get the user-id simply type " ps -ux " and search for freeradius.
Hmmm .. I starte
Andrei Loukinykh wrote:
As in default configuration. nobody/nogroup.
Seems I need to change it to something with root privileges...
to let my program operate in /var/run.. or elsewhere it needs to.
Thank you, I'll try ...
Best regards,
Andy
Better should be to let Freeradius access the needed
Thu, 22 Jan 2004, Dennis Roos писал(а):
> On Thu, 2004-01-22 at 14:25, Andrei Loukinykh wrote:
>
> > What changes happens with external program execution when FR runs in
> > debug mode?
> When run in debug mode, AFAIK freeradius doesn't drop root priviliges.
>
> What user/group does your freer
On Thu, 2004-01-22 at 14:25, Andrei Loukinykh wrote:
> What changes happens with external program execution when FR runs in
> debug mode?
When run in debug mode, AFAIK freeradius doesn't drop root priviliges.
What user/group does your freeradius run as when started without -X
--
Regards,
Denn
101 - 118 of 118 matches
Mail list logo