Sudo cannot be used because sudoers permissions are mistakenly modified in Ubuntu (you can retrieve the sudo permission when you forget the root password)
Source: Internet
Author: User
In Ubuntu, the sudoers permission cannot be changed by mistake (you can retrieve the sudo permission when you forget the root password). because the sudoers permission is modified, sudo cannot be used, the Ubuntu root password is not set, and the result can only be modified in single-user mode (with root power...
In Ubuntu, the sudoers permission cannot be changed by mistake (you can retrieve the sudo permission when you forget the root password). because the sudoers permission is modified, sudo cannot be used, it happens that the Ubuntu root password is not set, and the result can only be modified in the single-user mode (with root power). in Ubuntu, during the boot, press shift to display various modes. select the second recovery mode, press e to edit the file. the page is changed to rw single init =/bin/bash. press ctrl + x to enter the single-user mode, you can use the root permission to modify what you want to change!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.