Webcheat-sheets/docs/SELinux.md Go to file Cannot retrieve contributors at this time 56 lines (42 sloc) 2.42 KB Raw Blame SELinux Status, enabling and disabling Booleans Contexts and labels Examples: Set default context of /srv/web and its content (recursively) to httpd_sys_content_t : semanage fcontext -a -t httpd_sys_content_t "/srv/web (/.*)?" WebSep 26, 2024 · # This is from CentOS 8.2 # Make sure the auditing tools are available dnf install policycoreutils-python-utils setroubleshoot # disable the dontaudit logs to show all blocked things. semodule --build --disable_dontaudit # set enforcing mode off so we get all things that would have been denied setenforce 0 # watch the audit logs to find what is ...
Linux Commands Cheat Sheet - phoenixNAP
WebMay 10, 2024 · command > file 2>&1: Sends standard output and the error output to a file command &> file: Sends standard output and the error output to a file command 2>&1 > … WebDifferent examples to use nice and renice command. 1. nice command to set the priority of process. 2. nice command to increase the priority of a process. 3. nice command to decrease the priority of a process. 4. renice command to change priority of existing process. 5. renice command to change the priority of all processes of a specific group. jeff fultz air conditioning sebring fl
SELinux troubleshooting and pitfalls Enable Sysadmin
WebSep 6, 2024 · Intermediate Linux Cheat Sheet Red Hat Developer Learn about our open source products, services, and company. Get product support and knowledge from the open source experts. You are here Read developer tutorials and download Red Hat software for cloud application development. WebSELINUX Commands Cheat Sheet Cheat sheets Here is a cli commands cheat sheet for SELINUX command, you can use this as a quick reminder for basic commands with a brief … WebJan 6, 2024 · SELinux cheat sheet; Looking through the logs, you can find out what SELinux requires for the application to work properly. ... Four semanage commands to keep SELinux in enforcing mode. Are you avoiding SELinux entirely, or leaving large portions of your systems in permissive mode? Read on to learn how to use the SELinux targeted policy to … jeff fulton facebook