Error: username does not appear in the file sudoers. This incident will be reported.

Recently installed Debian. After entering the command sudo, terminal display such an error:
radek not in the file sudoers. This incident will be reported.
How to add a user to the sudoers file?

At the beginning of the log to the root account with the command:

and enter the root password.

Next:

or edit the file with other editor such as nano.

and the tab:

Under:

Add the exemplary user named Linux:

I save.

Username of course, give your.
That's it 😉

Debian after installation (network installation) does not add the first user to sudoers. It remains to proceed as above.

How useful this post was?

Click on the star, to evaluate it!

Average grade / 5. number of votes:

So far, no votes! Be the first to rate this post.