Skip to content

Commit

Permalink
Merge pull request #221 from vyos/mergify/bp/equuleus/pr-213
Browse files Browse the repository at this point in the history
boot: T5739: Fixed password recovery (backport #213)
  • Loading branch information
c-po authored Dec 21, 2023
2 parents 1c98ef5 + f1de91f commit b66838f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/standalone_root_pw_reset
Original file line number Diff line number Diff line change
Expand Up @@ -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
}


Expand Down

0 comments on commit b66838f

Please sign in to comment.