406 |
diff -Nur smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init/automysqlbackup smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init/automysqlbackup |
diff -Nur smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init/automysqlbackup smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init/automysqlbackup |
407 |
--- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init/automysqlbackup 1969-12-31 19:00:00.000000000 -0500 |
--- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init/automysqlbackup 1969-12-31 19:00:00.000000000 -0500 |
408 |
+++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init/automysqlbackup 2019-10-02 22:15:09.804000000 -0400 |
+++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init/automysqlbackup 2019-10-02 22:15:09.804000000 -0400 |
409 |
@@ -0,0 +1,35 @@ |
@@ -0,0 +1,37 @@ |
410 |
+{ |
+{ |
411 |
+my $user = $automysqlbackup{'DbUser'} || 'backupuser'; |
+my $user = $automysqlbackup{'DbUser'} || 'backupuser'; |
412 |
+my $pass = $automysqlbackup{'DbPassword'} || 'automysqlbackup'; |
+my $pass = $automysqlbackup{'DbPassword'} || 'automysqlbackup'; |
432 |
+ PASSWORD ('$pass')); |
+ PASSWORD ('$pass')); |
433 |
+ |
+ |
434 |
+ |
+ |
435 |
+GRANT EVENT,SELECT,LOCK TABLES ON *.* TO 'backupuser'\@'localhost' ; |
+REVOKE ALL PRIVILEGES ON *.* FROM '$user'\@'localhost'; |
436 |
|
+REVOKE GRANT OPTION ON *.* FROM '$user'\@'localhost'; |
437 |
|
+GRANT EVENT,SELECT,LOCK TABLES, SHOW VIEW ON *.* TO '$user'\@'localhost' ; |
438 |
+ |
+ |
439 |
+ |
+ |
440 |
+FLUSH PRIVILEGES; |
+FLUSH PRIVILEGES; |
447 |
diff -Nur smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init55/automysqlbackup smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init55/automysqlbackup |
diff -Nur smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init55/automysqlbackup smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init55/automysqlbackup |
448 |
--- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init55/automysqlbackup 1969-12-31 19:00:00.000000000 -0500 |
--- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init55/automysqlbackup 1969-12-31 19:00:00.000000000 -0500 |
449 |
+++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init55/automysqlbackup 2019-10-02 22:15:59.323000000 -0400 |
+++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init55/automysqlbackup 2019-10-02 22:15:59.323000000 -0400 |
450 |
@@ -0,0 +1,35 @@ |
@@ -0,0 +1,37 @@ |
451 |
+{ |
+{ |
452 |
+my $user = $automysqlbackup{'DbUser'} || 'backupuser'; |
+my $user = $automysqlbackup{'DbUser'} || 'backupuser'; |
453 |
+my $pass = $automysqlbackup{'DbPassword'} || 'automysqlbackup'; |
+my $pass = $automysqlbackup{'DbPassword'} || 'automysqlbackup'; |
473 |
+ PASSWORD ('$pass')); |
+ PASSWORD ('$pass')); |
474 |
+ |
+ |
475 |
+ |
+ |
476 |
+GRANT EVENT,SELECT,LOCK TABLES ON *.* TO 'backupuser'\@'localhost' ; |
+REVOKE ALL PRIVILEGES ON *.* FROM '$user'\@'localhost'; |
477 |
|
+REVOKE GRANT OPTION ON *.* FROM '$user'\@'localhost'; |
478 |
|
+GRANT EVENT,SELECT,LOCK TABLES, SHOW VIEW ON *.* TO '$user'\@'localhost' ; |
479 |
+ |
+ |
480 |
+ |
+ |
481 |
+FLUSH PRIVILEGES; |
+FLUSH PRIVILEGES; |
488 |
diff -Nur smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init57/automysqlbackup smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init57/automysqlbackup |
diff -Nur smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init57/automysqlbackup smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init57/automysqlbackup |
489 |
--- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init57/automysqlbackup 1969-12-31 19:00:00.000000000 -0500 |
--- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init57/automysqlbackup 1969-12-31 19:00:00.000000000 -0500 |
490 |
+++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init57/automysqlbackup 2019-10-02 22:13:28.624000000 -0400 |
+++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init57/automysqlbackup 2019-10-02 22:13:28.624000000 -0400 |
491 |
@@ -0,0 +1,35 @@ |
@@ -0,0 +1,43 @@ |
492 |
+{ |
+{ |
493 |
+my $user = $automysqlbackup{'DbUser'} || 'backupuser'; |
+my $user = $automysqlbackup{'DbUser'} || 'backupuser'; |
494 |
+my $pass = $automysqlbackup{'DbPassword'} || 'automysqlbackup'; |
+my $pass = $automysqlbackup{'DbPassword'} || 'automysqlbackup'; |
507 |
+REPLACE INTO user ( |
+REPLACE INTO user ( |
508 |
+ host, |
+ host, |
509 |
+ user, |
+ user, |
510 |
+ password) |
+ authentication_string, |
511 |
|
+ ssl_cipher, |
512 |
|
+ x509_issuer, |
513 |
|
+ x509_subject) |
514 |
+ VALUES ( |
+ VALUES ( |
515 |
+ 'localhost', |
+ 'localhost', |
516 |
+ '$user', |
+ '$user', |
517 |
+ PASSWORD ('$pass')); |
+ PASSWORD ('$pass'), |
518 |
|
+ '', |
519 |
|
+ '', |
520 |
|
+ ''); |
521 |
+ |
+ |
522 |
+ |
+ |
523 |
+GRANT EVENT,SELECT,LOCK TABLES ON *.* TO 'backupuser'\@'localhost' ; |
+REVOKE ALL PRIVILEGES ON *.* FROM '$user'\@'localhost'; |
524 |
|
+REVOKE GRANT OPTION ON *.* FROM '$user'\@'localhost'; |
525 |
|
+GRANT EVENT,SELECT,LOCK TABLES, SHOW VIEW ON *.* TO '$user'\@'localhost' ; |
526 |
+ |
+ |
527 |
+ |
+ |
528 |
+FLUSH PRIVILEGES; |
+FLUSH PRIVILEGES; |