Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password change function (karaf console) does not work #781

Closed
Harpo3 opened this issue Dec 17, 2019 · 1 comment
Closed

Password change function (karaf console) does not work #781

Harpo3 opened this issue Dec 17, 2019 · 1 comment

Comments

@Harpo3
Copy link

Harpo3 commented Dec 17, 2019

Applies to openhabian-config, 30 System Settings, 34 Change Passwords, openHAB Console.

The Change Password function does not correctly change the console password.

Until it is fixed, a workaround is to use this instruction to reset the password from the command line:
sudo sed -i -e "s/openhab = .*,/openhab = securePassword,/g" /var/lib/openhab2/etc/users.properties
Substitute securePassword with your desired password.
Then, stop openhab and reboot.

@mstormi
Copy link
Contributor

mstormi commented Dec 17, 2019

Do you mean to change the password to Karaf console ?
That can't be done from openhabian-config. Option 34 is about the openhab UNIX user and UNIX console in fact.
I admit it's an unfortunate wording, but it's something else and works as intended.

PS: no need to reboot in your "workaround"

@Harpo3 Harpo3 closed this as completed Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants