Openhabian 2.5.7-1 changing password

Tags: #<Tag:0x00007f616d086300>

After installing openhabian 2.5.7 on my PI, I couldn’t change the password - the “sudo passwd” method suggested in the help window made me enter the new password twice, but when I restarted the default password “openhabian” was requested.
Only the input: “sudo passwd openhabian” saved the new password!
Changing the text in the help window would be very helpful for beginners like me!
Otherwise, many thanks to all developers and helpers in the community

Glad you got it working!

I don’t know anything about the help window you’re referencing, but for future reference you can change passwords via openhabian-config.

Drilling down to some old linux knowledge lets me think:

sudo passwd

starts passwd on behalf of root and is going to change root’s password.

sudo passwd openhabian

starts passwd on behalf of root to change the password of the user openhabian


starts passwd on behalf of the current user to change the password of the current user

Being lazy i prefer the the last variant.

So i’m not that surprised. Like Russ i wonder about the reference to “help window”. Maybe you mean the message box you get when exiting openhabian-config while still using the standard password. But that message does not tell anything about using “sudo” at my site. Just “passwd”.

There’s no help text in the current code to contain “sudo passwd” so show the exact message please, and explain when you received it.
It’s like @yab replied. “sudo passwd” will change the root user’s password, and both, “passwd” and “sudo passwd openhabian” will change the user openhabian’s password.