diff options
Diffstat (limited to 'scripts/install-system')
-rwxr-xr-x | scripts/install-system | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-system b/scripts/install-system index 3b3d406d..12192cb4 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -539,7 +539,7 @@ change_password() { local user=$1 local pwd read pwd - local epwd=$(mkpasswd -H md5 $pwd) + local epwd=$(mkpasswd -H md5 $pwd | sed 's:/:\\/':) sed -i \ -e "/ user $user {/,/}/s/encrypted-password:.*\$/encrypted-password: \"$epwd\"/" \ |