summaryrefslogtreecommitdiffstats
path: root/satellit_upgrader
diff options
context:
space:
mode:
authorSimon Rettberg2020-07-31 14:05:16 +0200
committerSimon Rettberg2020-07-31 14:05:16 +0200
commit747b5a844e7b9d8e7d5bd61e302337f92a493b43 (patch)
tree2a05f2f29a2f1a6b4068870c6fdd4a96ba33c5bf /satellit_upgrader
parent[borg] Update to 1.1.11 (diff)
downloadsetup-scripts-747b5a844e7b9d8e7d5bd61e302337f92a493b43.tar.gz
setup-scripts-747b5a844e7b9d8e7d5bd61e302337f92a493b43.tar.xz
setup-scripts-747b5a844e7b9d8e7d5bd61e302337f92a493b43.zip
[SSUS] Prepare mysql passwordless login patch
Diffstat (limited to 'satellit_upgrader')
-rw-r--r--satellit_upgrader/updater.template.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh
index 366387e..e2fd368 100644
--- a/satellit_upgrader/updater.template.sh
+++ b/satellit_upgrader/updater.template.sh
@@ -286,6 +286,8 @@ for ver in $( dpkg-query -W -f='${Package}\n' "mysql-server-*" "mariadb-server-*
dpkg -l "$ver" 2> /dev/null | grep -q '^ii' && apt remove -y "$ver"
done
aptinst default-mysql-server
+## Enable unix socket passwordless local connection (commented out since default in Debian 9+ anyways)
+#mysql -e "UPDATE user SET plugin = 'unix_socket' WHERE Host = 'localhost' AND User = 'root'"
# ********************** Taskmanager ***********************
# Do this first in case one of the later updates depends on the taskmanager