A study of server anomalies that could result from the SELinux of Linux

Source: Internet
Author: User

Write the phenomenon today:

A server due to misoperation started SELinux, resulting in the server can not log on, the original user name password all failed. After you close SELinux again, it returns to normal.

My curiosity now is that SELinux is based on what principle prevents the passwd command from being executed in single-user mode.

Seliunx principle:

Through a module LSM (Linux Security Modules) that is outside the Linux kernel, a hook is added to the native Linux rights Management, which increases the SELinux policy check after the native permission check. Through this mechanism called type coercion, it can be used for the management of file reading and writing, directory properties, TCP connection and other resources. This includes system management limitations and the ability to restrict passwd executable users. This means that if you need to enable selinux, you need a complete, comprehensive set of policies. Too strict management will bring great inconvenience to the daily management, management of the loose will lose the meaning.

A study of server anomalies that could result from the SELinux of Linux

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.