Own exec module with bash: permission denied

Marten Pape Marten.Pape at pape-hn.de
Sun Mar 20 18:34:48 CET 2011


Paul Thornton schrieb:
> On 20/03/2011 17:27, Marten Pape wrote:
>> Alan DeKok schrieb:
>>>
>>>    The script is owned by "root", and the server is running as user
>>> "radiusd".
>>>
>>>    Alan DeKok.
>>> -
>>> List info/subscribe/unsubscribe? See
>>> http://www.freeradius.org/list/users.html
>>>
>>>
>> This is correct, but the script has access rights for everyone (777 =
>> rwx;rwx;rwx).
>> I changed the ownership of the file to freerad:freerad but there's no
>> different output. A user called "radiusd" doesn't exist on my system.
>
> Check the access permissions on /root and the other directories in
> that path as well.  One of those probably won't have permission for
> the radius user to enter them.
>
> Paul.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
ouch, that's it! /root didn't have the correct rights.

Thanks,
Marten




More information about the Freeradius-Users mailing list