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:
1 | su - |
and enter the root password.
Next:
1 | sudo gedit /etc/sudoers |
or edit the file with other editor such as nano.
1 | nano /etc/sudoers |
and the tab:
1 | User privilege specification |
Under:
1 | root ALL=(ALL:ALL) ALL |
Add the exemplary user named Linux:
1 | linux ALL=(ALL:ALL) ALL |
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.
Related entries:
We run the webmin service in the system 11
Changing the exif data of a photo in the Linux terminal
HTTP file server on Ubuntu 20.04
Installing Skype in the Centos system 8
gconf-service gconf-service-backend gconf2-common libappindicator1 libc++1 libc++1-9 libc++abi1-9 libdbusmenu-gtk4 libgail-common libgail18 libgconf-2-4 libgtk2.0-0 libgtk2.0-bin libgtk2.0-commonAll-in-one voice and text chat for gamers
All-in-one voice and text chat for gamers that's free 20.04
fedora 29 x86/64 (cinnamon)
the first line of code about, the next bug crashes
This is a guide to Debian.
Here is mistake, this method will not work, linux ALL=(ALL:ALL) ALL , this should be placed at the very bottom under @includedir / etc /sudoers.d .