Linux: ‘Username’ is not in the sudoers file. This incident will be reported [closed]

Open file

su root 
nano /etc/sudoers

Then add the user below admin user like below syntax.

user_name ALL=(ALL)  ALL

Leave a Comment