summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/install-system2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-system b/scripts/install-system
index 71233ccb..defca8fb 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -553,7 +553,7 @@ change_password() {
local user=$1
local pwd
read pwd
- local epwd=$(mkpasswd -H md5 $pwd | sed 's:/:\\/':)
+ local epwd=$(mkpasswd -H md5 $pwd | sed 's:/:\\/:g')
sed -i \
-e "/ user $user {/,/}/s/encrypted-password:.*\$/encrypted-password: \"$epwd\"/" \