user is not in the sudoers file. This incident will be reported. code example
Example: is not in the sudoers file. This incident will be reported.
usermod -a -G sudo user
or
usermod -a -G wheel user
usermod -a -G sudo user
or
usermod -a -G wheel user