Fügen Sie den Benutzer zu sudoers debian hinzu
usermod -aG sudo username
Black Beaver
usermod -aG sudo username
sudo grep -B1 -i '^%sudo' /etc/sudoers
# Allow members of group sudo to execute any command
#%sudo ALL=(ALL:ALL) ALL
sudo adduser <UserNameHere> sudo
or
sudo usermod -aG sudo <UserNAmeHere>
id <UserNAmeHere>