exec module not seeming to run something
Franks Andy (RLZ) IT Systems Engineer
Andy.Franks at sath.nhs.uk
Tue Oct 2 16:16:11 CEST 2012
Good call about the path thing.
I also forgot about the ssh prompt to accept a new ssh key, which obviously can't be seen, so copied the known_hosts file from another user to the freerad/.ssh folder and altered the permissions.
Works fine now
Thanks very much
From: freeradius-users-bounces+andy.franks=sath.nhs.uk at lists.freeradius.org [mailto:freeradius-users-bounces+andy.franks=sath.nhs.uk at lists.freeradius.org] On Behalf Of Alan DeKok
Sent: 02 October 2012 10:30
To: FreeRadius users mailing list
Subject: Re: exec module not seeming to run something
Franks Andy (RLZ) IT Systems Engineer wrote:
> The problem is it doesn’t work. I can run the script from a shell prompt
> and the backup functions fine, the variables outputting to the
> testssh.out file and the ssh command running ok. Freeradius fires the
> script off ok after an accounting session and the bits get written to
> the testssh.out file, including the PID of the ssh process but the
> command itself doesn’t work.
> Am I missing something obvious (again)?
Use the complete filename for all executables in the shell script.
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users