Sudo: the mode of/etc/sudoers is 0551, which should be 0440

Source: Internet
Author: User

Environment: Ubuntu 12.04.4 lts 32bit

You want to modify the/etc/sudoers file and cancel the password for the sudo permission. However, because the sudoers file does not have the 'w' (write) Permission, an error is added when the command is used to add the write permission, and The 'X' (executable) Permission is added. Sudo cannot be used, but it cannot be changed. Every time sudo prompts that The sudo:/etc/sudoers mode is 0551 and should be 0440.

Later in the csdn (http://blog.csdn.net/tsuliuchao/article/details/14221933) to find a way to test feasible.

Pkexec chmod 0440/etc/sudoers

OK.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.