Don't log user pass to database

Phil Mayers p.mayers at imperial.ac.uk
Tue Apr 2 13:00:01 CEST 2013


On 04/02/2013 11:09 AM, Dmitry Korzhevin wrote:
> Hi,
>
> Guys, please tell - how prevent freeradius to log pass to radpostauth
> mysql (MariaDB) table?
>
> I have modified /etc/freeradius/modules section to:
>
>
> Post-Auth = "INSERT INTO ${postauth_table}                   \
> (username, reply, authdate) VALUES                    \
> ('%{User-Name}',         \
> %{reply:Packet-Type}', '%S');"
>
>
> But, seems this not helps, as i see user passwords in database.
>

Have you restarted the server? Are you sure you're editing the file that 
FreeRADIUS is reading? Run "radiusd -X" and look at the debug output to 
see what files it is really reading.


More information about the Freeradius-Users mailing list