nix-gscheits/pkgs/fablab/freeradius-anon-access/raddb/mods-config/sql/dhcp/mysql/setup.sql
2022-08-03 02:29:50 +00:00

21 lines
689 B
SQL

/*
* setup.sql -- MySQL commands for creating the RADIUS user.
*
* WARNING: You should change 'localhost' and 'radpass'
* to something else. Also update raddb/mods-available/sql
* with the new RADIUS password.
*
* WARNING: This example file is untested. Use at your own risk.
* Please send any bug fixes to the mailing list.
*
* $Id: d20a82c9ccb94cc1ec609a761b6a8f44d30e48c3 $
*/
/*
* Create default administrator for RADIUS
*/
CREATE USER 'radius'@'localhost' IDENTIFIED BY 'radpass';
GRANT SELECT ON radius.dhcpreply TO 'radius'@'localhost';
GRANT SELECT ON radius.dhcpgroupreply TO 'radius'@'localhost';
GRANT SELECT ON radius.dhcpgroup TO 'radius'@'localhost';