How to login as openhab user

  • Platform information:
    • Hardware: RPi 3B+
    • OS: Raspbian
    • Java Runtime Environment: which java platform is used and what version
    • openHAB version: 2.5.M5
  • Issue of the topic:
    What is the password to login as user openhab??
    I tried habopen and found it says Authentication failure
    I want to ssh into the Pi with user openhab.

I think you are looking for that?

Sorry, but I couldn’t find how to login.
I am using raspbian lite and installed openhab as a packaged repo.
Now I wanted to install helper libraries and in the steps written on this Page https://openhab-scripters.github.io/openhab-helper-libraries/Getting%20Started/Installation.html#installation, in step 7 it says to copy the contents as openhab user.
How to accomplish that?

You need to set-up this first:

The openhab user cannot be logged into. That is by design. You want to limit what a service can do.

To perform actions as the openhab user, use sudo -u openhab.

1 Like

Thanks a lot @rlkoshak.
You are a life saver. :smile: