This article describes the solution when encountering is not in the sudoers file during Linux use.
When using sudo, "xxx is not in the sudoers file. This incident will be reported."where XXX is your username, that is, your username does not have permission to use sudo, we only need to modify Just look at the /etc/sudoers file.
Example:
Problem Description
The following is the solution:
1) Enter Super User mode. That is, enter "su", the system will let you enter the super user password, enter the password and enter the super user mode.
Step 1
2) Edit the /etc/sudoers file. That is, enter the command "gedit /etc/sudoers", enter the edit mode, find this line: "root ALL=(ALL) ALL" Add "ld ALL=(ALL) ALL" below (the ld here is Your username), then save and exit.
Step 2
Switch to the normal user just added, execute the sudo command!
Another way to modify the /etc/sudoers file:
1) Enter superuser mode. That is, enter "su", the system will let you enter the super user password, enter the password and enter the super user mode.
2) Execute visudo (remember, there is no space between vi and sudo)
Move the cursor to "root ALL=(ALL) ALL“ below
Press i to enter the insert mode and add a configuration:
ld ALL=(ALL) ALL (where ld is your username)
3) Press Esc
4) Enter “:x”(Save and Exit)
If you want to try a desktop system other than Mac and Windows, Linux should definitely be your fir
In software development, tasks often have to go to sleep because some conditions are not met, and th
Running live55 under linux shows the figure: not getting ip: ip is 0.0.0.0 live555 does not know th
In the era of virtualization and cloud computing and the container, we migrated all the application
Five improvements to Ubuntu Lucid Alpha 2 released
Exclude ADSL dialup failure under Linux
CentOS install Apache+PHP+MySQL guide
Linux operating system crash processing method summary
Related concepts of inode in linux file system
Getting Started with Linux Programming - Threading
Network card cannot be detected after Linux starts
Let the Linux operating system listen to your schedule
Learn seven points of advice using Linux systems
Explain the bridge application in Win XP (1)
How to set the win7 taskbar height?
Windows 8 system uses the command line to set the method of timing shutdown
How does the Win7 system optimize the firewall function?
Win7 system mouse click to double click how to do
Say goodbye to Windows8 development preview version on March 8 next year
Windows7 system program response time has a coup
Let Windows XP no longer appear memory read and write errors
Cross fire line configuration requirements, play cf minimum configuration requirements