summaryrefslogtreecommitdiffstats
path: root/src/tests/salt-test-server/salt/mysql/setup.sql
blob: 3b9ec5444ce50dac8f8b57917227a33b0fad5290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- text -*-
##
## admin.sql -- MySQL commands for creating the RADIUS user.
##
##	WARNING: You should change 'localhost' and 'radpass'
##		 to something else.  Also update raddb/sql.conf
##		 with the new RADIUS password.
##
##	$Id$

#
#  Create default administrator for RADIUS
#
CREATE USER 'radius';
SET PASSWORD FOR 'radius' = PASSWORD('radpass');

# Need to read when running RADIUS and delete for cleanup
GRANT ALL ON radius.* TO 'radius';