diff options
author | Christian Rößler | 2015-09-01 14:54:48 +0200 |
---|---|---|
committer | Christian Rößler | 2015-09-01 14:54:48 +0200 |
commit | 6e9e3b94ff3a55ba9f32d149bfc682099efc2679 (patch) | |
tree | 3f581b3e7e2ab18897758b43e26b3c47aae77f51 /satellit_installer/includes/10-query_user.inc | |
parent | [SSPS] (dmsd)config.properties now dmsd:images (640) (diff) | |
download | setup-scripts-6e9e3b94ff3a55ba9f32d149bfc682099efc2679.tar.gz setup-scripts-6e9e3b94ff3a55ba9f32d149bfc682099efc2679.tar.xz setup-scripts-6e9e3b94ff3a55ba9f32d149bfc682099efc2679.zip |
[SSPS] Renaming db user bwLehrpool --> db user sat
Diffstat (limited to 'satellit_installer/includes/10-query_user.inc')
-rw-r--r-- | satellit_installer/includes/10-query_user.inc | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/satellit_installer/includes/10-query_user.inc b/satellit_installer/includes/10-query_user.inc index e91e643..3cad8ad 100644 --- a/satellit_installer/includes/10-query_user.inc +++ b/satellit_installer/includes/10-query_user.inc @@ -38,10 +38,10 @@ query_passwords() { query_single_password MYSQL_OPENSLX_PASS="$PASS1" echo "#" - echo "# Now, on to the needed mysql user 'bwLehrpool' - you guessed it; we need a password." + echo "# Now, on to the needed mysql user 'sat' - you guessed it; we need a password." echo "# This user will be the work horse for the bwLehrpool Suite database." query_single_password - MYSQL_BWLEHRPOOL_PASS="$PASS1" + MYSQL_SAT_PASS="$PASS1" echo "#" echo -n "# Everything in order? Please press 'y' to continue; any other key to re-enter passwords: " read -p "" -n1 -s ANSWER_OK @@ -51,7 +51,7 @@ query_passwords() { # echo "OPENSLX_PASS=$OPENSLX_PASS" >> "$CONFIGDIR"/config # echo "MYSQL_ROOT_PASS=$MYSQL_ROOT_PASS" >> "$CONFIGDIR"/config # echo "MYSQL_OPENSLX_PASS=$MYSQL_OPENSLX_PASS" >> "$CONFIGDIR"/config - # echo "MYSQL_BWLEHRPOOL_PASS=$MYSQL_BWLEHRPOOL_PASS" >> "$CONFIGDIR"/config + # echo "MYSQL_SAT_PASS=$MYSQL_SAT_PASS" >> "$CONFIGDIR"/config } generate_password() { @@ -64,19 +64,18 @@ generate_password() { set_passwords() { echo -n "# Setting passwords..." OPENSLX_PASS="$(generate_password)" - # BWLEHRPOOL_PASS="$(generate_password)" MYSQL_ROOT_PASS="$(generate_password)" MYSQL_OPENSLX_PASS="$(generate_password)" - MYSQL_BWLEHRPOOL_PASS="$(generate_password)" + MYSQL_SAT_PASS="$(generate_password)" # Keep in mind the passwords stored here will be valid only temporary, # as they will be changed by the dropper script. # If you need the permanently valid password, you will need to # decrypt static_files/new_passwords.encrypted. - echo "OPENSLX_PASS=$OPENSLX_PASS" > "$CONFIGDIR"/config - echo "MYSQL_ROOT_PASS=$MYSQL_ROOT_PASS" >> "$CONFIGDIR"/config - echo "MYSQL_OPENSLX_PASS=$MYSQL_OPENSLX_PASS" >> "$CONFIGDIR"/config - echo "MYSQL_BWLEHRPOOL_PASS=$MYSQL_BWLEHRPOOL_PASS" >> "$CONFIGDIR"/config + echo "OPENSLX_PASS=$OPENSLX_PASS" > "$CONFIGDIR"/config + echo "MYSQL_ROOT_PASS=$MYSQL_ROOT_PASS" >> "$CONFIGDIR"/config + echo "MYSQL_OPENSLX_PASS=$MYSQL_OPENSLX_PASS" >> "$CONFIGDIR"/config + echo "MYSQL_SAT_PASS=$MYSQL_SAT_PASS" >> "$CONFIGDIR"/config echo "ok." } |