summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install/install-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-functions b/scripts/install/install-functions
index 90355974..1551fbb0 100755
--- a/scripts/install/install-functions
+++ b/scripts/install/install-functions
@@ -252,7 +252,7 @@ change_password() {
done
# escape any slashes in resulting password
- local epwd=$(mkpasswd -H md5 "$pwd1" | sed 's:/:\\/:g')
+ local epwd=$(mkpasswd --method=sha-512 "$pwd1" | sed 's:/:\\/:g')
set_encrypted_password "$user" "$epwd" "$config"
}