Recommended value for ${db_dir} when using persist_dir
George Benjin
george.benjin at gmail.com
Tue Oct 8 13:07:29 UTC 2024
Thanks Alan - we'll see what we can do.
Cheers,
George
On Tue, 8 Oct 2024 at 00:41, Alan DeKok <aland at deployingradius.com> wrote:
>
> On Oct 7, 2024, at 7:15 AM, George Benjin <george.benjin at gmail.com> wrote:
> > I checked the value of db_dir in the radiusd.conf file as mentioned,
> > and it is set to: ${raddbdir} which evaluates to /etc/raddb.
>
> That is the default for historical reasons, but /etc/raddb isn't generally writable by the RADIUS process. Plus, it's a bad idea to put random data into /etc.
>
> > The comment immediately above the line setting the value mentions that
> > it should likely be set to ${localstatedir}/lib/radiusd.
> >
> > I haven't changed these settings from defaults. Should the
> > radiusd.conf settings be updated in the default package, and/or should
> > the guidance be made clearer? File excerpts below. Cheers
>
> Sure. Please submit a patch, or suggest better text.
>
> Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list