AND now I have managed to corrupt my sudoers file the openhabian user is no longer part of sudo group. and I have no privileges to do anything to fix this… Would really like to avoid reinstalling my entire setup, due to privileges issues though
Have tried almost everything i’ve found on google, without luck
used these tips:
I get this:
openhabian@openHABianPi:~$ sudo openhabian-config
sudo: /etc/sudoers is world writable
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin