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;
11 grant all privileges on bacula.* to ${USER}@"%";
16 echo "Privileges for ${USER} granted."
19 echo "Error creating privileges."