is not in the sudoers file
the issue: user is not in the sudoers file error occurs when attempting to run “sudo …” command
the resolution: this means exactly what it says, you (the current user) are not allowed to sudo stuff (as a different user). and in order to do so, you must be specified in the “sudoers file”.
run:
something similar to the following will appear
note: the following is the format for the privilege specification:
based on the note above you can configure your user very specifically. however, if you want to simply add your user to be able to sudo from EVERYWHERE, sudo’ing as WHOEVER, and performing ANY/ALL commands, add your user to the privilege specification: