david is not in the sudoers file. This incident will be reported.
nano /etc/sudoers

De groep wheel mag alle commando's uitvoeren

# Allows people in group wheel to run all commands
%wheel ALL=(ALL) ALL

De gebruiker toevoegen aan de groep wheel

usermod -G wheel david

Overzicht van leden in de groep wheel

grep wheel /etc/group