On Sat, Nov 5, 2011 at 6:41 AM, Ivan Matala <ivanmatala@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@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