Sudo permission escalation: xx users are not resolved in the sudoers file
Source: Internet
Author: User
Sudo Elevation of Privilege: xx user does not solve the problem in the sudoers file. the terminal uses sudo Elevation of Privilege. xx user is not in the sudoers file. The incident will be reported. Resolving this problem is caused by an error in the sudo configuration file. you can modify the sudo configuration file to switch to the root using su... sudo Elevation of Privilege: xx user does not solve the problem in the sudoers file. the terminal uses sudo Elevation of Privilege. xx user is not in the sudoers file. The incident will be reported. To solve this problem, the sudo configuration file is incorrect. modify the sudo configuration file to switch to the root using su, and then run the following command on the terminal: sudo gedit/etc/sudoers Defaults env_reset Defaults mail_badpass Defaults secure_path = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin: /sbin:/bin "# Host alias specification # User alias specification # Cmnd alias specification # User privilege specification root ALL = (ALL: ALL) ALL # Members of the admin group may gain root privileges mi N ALL = (ALL: ALL) ALL # Allow members of group sudo to execute any command % sudo ALL = (ALL) ALL xx ALL = (ALL) ALL (change XX here to the user name with the problem !) Save the file and exit.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service