radiusd goes wrong

Ivan Matala ivanmatala at gmail.com
Sat Nov 5 07:58:37 CET 2011


yes. i already set user = root
group = root

and i still get permission denied. tnx

On Sat, Nov 5, 2011 at 2:25 PM, Fajar A. Nugraha <list at fajar.net> wrote:
> On Sat, Nov 5, 2011 at 6:41 AM, Ivan Matala <ivanmatala at gmail.com> wrote:
>> freeradius runs if i use this
>>
>> radiusd -x -f
>
> In debug mode FR will run as the user that runs it (e.g. root).
>
> In normal mode, if run as root, it will switch to the user specified
> on radiusd.conf
>
>> On Fri, Nov 4, 2011 at 4:27 PM, Ivan Matala <ivanmatala at gmail.com> wrote:
>>> how to fix permission problem?
>
> That's basic unix/linux knowledge. If you don't know how to do that,
> my best advice is don't try compiling your own daemons. Either:
> - spend some time to learn about unix permission. Really, it's not
> that hard. Use Google. OR
> - use distro-provided packages, or third-party packages compatible
> with your distro. They're usually setup correctly (including
> pernissions) and ready to use with minimal configuration change.
>
>>> On Fri, Nov 4, 2011 at 3:38 PM, Tim Sylvester
>>>>> Failed creating PID file /root/radiusd.pid: Permission denied
>
> who'd put pid file on /root?
>
> If you REALLY know what you're doing, edit radiusd.conf so that
> freeradius runs as root.
>
> A more sane approach is to look at vendor-provided package, or the
> defaults that you get when you run "make install" from source. Most
> default configuration there is usually sane-enough.
>
> --
> Fajar
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>



More information about the Freeradius-Users mailing list