4a26f9b53a
This command will remove the comma which makes the new password unusable so it needs put a "," in the replacement string as well. For comparison look at the password change function which has the "," in both the search and replace. https://github.com/openhab/openhabian/blob/master/functions/passwords.sh sed -i "s/openhab = .*,/openhab = $passwordChange,/g" /var/lib/openhab2/etc/users.properties |
||
---|---|---|
.. | ||
bundles.md | ||
console.md | ||
index.md | ||
jsondb.md | ||
logging.md | ||
runtime.md |