If the user name was not created when the system was installed, this problem occurs when using the sudo command.
Solution: input
su
Enter the root password. If you have not set the root password before, please visit the URL settings.
http://blog.csdn.net/baidu_ 27280587/article/details/53285620
After entering the successful root environment, enter
gedit /etc/sudoer
After opening the file, find the
root ALL=(ALL:ALL) ALL
In this line, add the same line below it, and change root to your user name. Save and close the file, and then use the sudo command, no more errors will be reported.
Read More:
- An error is reported when installing the package directly in pycharm, but it can be installed through the terminal. Error non zero exit code (2)
- “ XX.app ”It is damaged and cannot be opened. You should move it to the wastebasket.
- When a system is deployed on weblogic12.2.1.3, it reports an error “IllegalStateException zip file closed”. When it is deployed on weblogic12.2.1.2, it does not report an error and can be accessed normally.
- Change the path in the user directory in Chinese Ubuntu to English
- Problems and solutions of installing Ubuntu 12.04 in win7
- When the mybatis field contains an expression, an error is reported when it is stored in the database
- When C language refers to a user-defined type as a parameter, an error segmentation fault is reported
- Solutions to Django is not importable in this environment
- When SSM + Maven project is running, it is prompted that org.springframework.web.servlet.dispatcherserservlet cannot be found
- Solutions to the problem of using sudo caused by Ubuntu’s wrong modification of sudoers
- Unity “Feature `out variable declaration’ cannot be used because it is not part of the C# 4.0” error
- The Vue project is packaged and deployed to tomcat, and an Error 404 is reported as soon as it is refreshed
- Inline JavaScript is not enabled. Is it set in your options?
- The solution to the error of / etc / sudoers: syntax error in sudoer file under mac
- The out folder does not appear under the idea project. Set the entire compilation information to the target folder
- Mongodb (version 3.2) create user error addUser is not a function
- [OpenGL · error] visual studio 2019 reports an error. It is an external symbol gladloadglloader that cannot be parsed. This symbol is referenced in the function main
- Solutions to the problem that Ubuntu is stuck when copying large files and can’t mount mobile hard disk normally
- When installing software in Ubuntu, it prompts: E: You don’t have enough free space in /var/cache/apt/archives/.
- When Maven hits the jar package, an error is reported when executing install, and the symbol cannot be found in a line