Hi there, I just made a huge mistake, in trying to add my openhabian user into the gpio group, I apparantly removed my openhabian user from the sudo group…
Is there any other sudo user I can use to fix this?
should’ve gone to bed hours ago, but wanted to get this shellscript working…
You don’t have to restart the Raspberry Pi by the way. And the above line has an error. It should be
sudo usermod -aG sudo openhabian without the word group. Without restarting the Raspberry Pi you can connect to
pi@<ip> and the password is
raspberry. The pi user have sudo permissions and you can add the openhabian user to sudo.
(I answered because it was the first topic you can find with this error).
hmmm. The openhabian ( “distribution” ) that I use does not have a user that is called pi.