3 # shell script to grant privileges to the bacula database
8 if $bindir/mysql $* -u root -f <<END-OF-DATA
10 grant all privileges on bacula.* to ${USER}@localhost with grant option;
11 grant all privileges on bacula.* to ${USER}@"%" with grant option;
16 echo "Privileges for ${USER} granted."
19 echo "Error creating privileges."