Mac os X 10.11 sudo instruction problem?

Source: Internet
Author: User
Laxatives, OS X El Capitan, introduced the rootless mechanism under the kernel, the following path:

/system
/bin
/sbin
/usr (except/usr/local)

are in the rootless range, even if the root user cannot have write and execute permissions on this directory, only Apple and Apple's authorized signed software, including command-line tools, can modify this directory.

After thinking about the meaning of your operation, use other means to complete your operation.
For example, if you want to change the configuration of vim, put it in ~/.vim/instead of/usr/share the global path
Either close the rootless (not recommended by the developer, or open again after the recommended execution)

Closed method:
Reboot, power on and hold command + R, start with the recovery partition, and select the following method:
graphical operation
off enforce System Integrity Protection
command-line operation
in Security Configuration
Csrutil Disable

Mac os X 10.11 sudo instruction problem?

Related Article

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.