I have installed OpenHAB several times and I never get sudo access.
I used the Raspi imager to try and automatically download the image which failed. I then downloaded the image directly from OpenHAB and imaged the SDCard using the Raspi imager with the downloaded image. I cleared all setting before writing the image.
I am using openHAB 4.0.4 which is connected to my Fronius Inverter using the solar_api v1.
Just trying to replicate the Fronius SolarWeb app to get more data than the free app gives. The solar_api v1 has all the data and I can get it directly from my inverter. So I’m pretty happy apart from not being able to replicate the app yet.