I've done a mistake: I've removed the 'sudo' group, because I have forgotten the -a option (I wanted to add 'video' group):sudo usermod -G video $USERNow, when I want to call sudo I have this message:orangepi@orangepi:~$ sudo apt-get update[sudo] password for orangepi: Sorry, user orangepi is not allowed to execute '/usr/bin/apt-get update' as root on orangepi.I read some solution (like visudo, or sudo adduser <username> sudo) but the problem persists. I can be root with calling su.Some informations:orangepi@orangepi:~$ groupsorangepi video               # I would like to add sudo, groupes and othersvisudo:Defaults        env_resetDefaults        mail_badpassDefaults        secure_path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/binroot    ALL=(ALL:ALL) ALL%admin ALL=(ALL) ALL# Allow members of group sudo to execute any command%sudo   ALL=(ALL:ALL) ALL%shutdown ALL=(root) NOPASSWD: /usr/lib/arm-linux-gnueabihf/xfce4/xfsm-shutdown-helper# Autoriser sudo ifup sans mot de passeorangepi  ALL = (root) NOPASSWD: /sbin/ifupHow can I repair this?
How to add sudo group
sudo;group
Once you have become root via su, do:adduser orangepi sudoIf you don't have adduser on your system, try with usermod -a to append to the groups list:usermod -a -G sudo orangepiYou might also want to investigate which groups your user is a member of by default, and add those back as well (such as the group named after your user, adm, etc.).Alternatively, you can use su -c:su -c adduser orangepi sudo