Recommended value for ${db_dir} when using persist_dir

Alan DeKok aland at deployingradius.com
Mon Oct 7 11:40:33 UTC 2024


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.



More information about the Freeradius-Users mailing list