diff options
author | Christian Breunig <christian@breunig.cc> | 2023-11-14 18:15:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 18:15:05 +0100 |
commit | 93699233fff3dfee7366b5340b89697eb41b685e (patch) | |
tree | 564e94ce1975a04bcb0e1c83bf884e0f3d2fdce2 | |
parent | c8645bdde89f2d61d31f030ea1f193791c627a3d (diff) | |
parent | 6ee88ac6387ce0dbb570bde3e9c4582b206580aa (diff) | |
download | vyatta-cfg-system-93699233fff3dfee7366b5340b89697eb41b685e.tar.gz vyatta-cfg-system-93699233fff3dfee7366b5340b89697eb41b685e.zip |
Merge pull request #213 from zdc/T5739-circinus
boot: T5739: Fixed password recovery
-rwxr-xr-x | scripts/standalone_root_pw_reset | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/standalone_root_pw_reset b/scripts/standalone_root_pw_reset index 1a73de71..c82cea32 100755 --- a/scripts/standalone_root_pw_reset +++ b/scripts/standalone_root_pw_reset @@ -28,7 +28,7 @@ ADMIN=vyos set_encrypted_password() { sed -i \ - -e "/ user $1 {/,/}/s/encrypted-password .*\$/encrypted-password $2/" $3 + -e "/ user $1 {/,/encrypted-password/s/encrypted-password .*\$/encrypted-password \"$2\"/" $3 } |