user not in the sudoers file 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