This course is using an outdated version of the technology and is now considered to be Legacy content. It will be removed from our catalog on June 28, 2024. Please be sure to complete your course and finish any remaining labs before that date. We recommend moving to version 9.2, which is the latest version currently available.
In this chapter, you learned:
To migrate a system that has SELinux disabled to enforcing mode, switch to permissive mode, review the audit log, relabel files and resolve issues, and then switch to enforcing mode.
Confined SELinux users can allow you to restrict users from using sudo or su to switch user, log in using ssh, or run some commands on the system.
You can use the sesearch command to look up the access rules and transition rules that SELinux enforces.
You can use the sepolicy transition command to analyze whether or not a process running in one domain can potentially use one or more domain transitions to run a process in another domain.
You can use the matchpathcon command to determine the expected context of a file created in a particular location even if the file does not exist.