how to add a user to sudoers listΒΆ

edit file /etc/sudoers:

# User privilege specification
root    ALL=(ALL:ALL) ALL
zdb     ALL=(ALL:ALL) ALL

# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL