Solve the following error in CentOS: xx is not in the sudoers file.
I am using redhat5.4. If a general user executes the sudo command, the following error occurs: llhtiger is not in the sudoers file. This incident will be reported. solution:
I. $
Error environment: rehl x. x.
If you run the sudo command under a common user, the following error occurs: llhtiger is not in the sudoers file. This incident will be reported. solution:
I,$Whereis sudoers ------- locate the file location. The
Original post address: http://blog.sina.com.cn/s/blog_4ef045ab0100j59t.html
I am using redhat5.4. If a general user executes the sudo command, the following error occurs: llhtiger is not in the sudoers file. This incident will be reported.
Solve the Problem of prompting the user that the CentOS Sudo file is not in the sudoers file
In CentOS, a common user uses the sudo command and usually prompts that the user is not in sudoers. Therefore, this user does not have the sudo command
Solution to CentOS ── xxx is not in the sudoers file MethodCompared to the previous one, CentOS was selected as the Linux system. Just installed into the virtual machine, the system permission cannot be enabled by default. After entering sudo in the
Add users to sudoers in CentOS
Environment: VMware12, CentOS7
Background: After Entering terminal, the default value is normal. Previously, you can use the Ubutu series to directly increase user permissions. However, in CentOS, the following
When sudo is used in CentOS and sudoers solutions, the prompt & quot; xxxisnotinthesudoersfile is displayed. thisincidentwillbereported. XXX is your user name, that is, your user name does not have the permission to use sudo, we just need to modify
CentOS, sudoers solution prompt "xxx is not in the sudoers file when sudo is used. this incident will be reported. XXX is your user name, that is, your user name does not have permission to use sudo. You just need to modify the/etc/sudoers file. The
After installing the system, CentOS cannot use the sudo command by default. in this case, we need to add the login user to the/etc/sudoers file and assume that the user name is tom and switch to the Super User: $ su-open the/etc/sudoers File: $
Add users to sudoers under CentOS
After installing the system, CentOS cannot use the sudo command by default. In this case, we need to add the login user to the/etc/sudoers file.
Assume that the user name is tom.
Switch to Super User: $ su-
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.