Adding a User from the Command Line: is not in the sudoers file. This incident will be reported [closed]

Solution 1:

You will need to edit the sudoers file at /etc/sudoers, but make sure to do this using the command visudo and never edit that file directly since any mistake can break the sudo settings. You can refer to the following link for more info on the syntax for the sudoers file: https://www.hostinger.com/tutorials/sudo-and-the-sudoers-file/amp