generate_selinux_policy
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
generate_selinux_policy [2014/06/16 13:45] – [Generate SELinux policy] admin | generate_selinux_policy [2016/06/21 13:45] – admin | ||
---|---|---|---|
Line 2: | Line 2: | ||
=====Generate SELinux policy===== | =====Generate SELinux policy===== | ||
- | //Tested on CentOS | + | //Tested on CentOS |
* Install policycoreutils-python < | * Install policycoreutils-python < | ||
Line 11: | Line 11: | ||
* Follow on screen directions. | * Follow on screen directions. | ||
- | ====Editing .te policy file==== | + | ====If you need to edit the policy file==== |
- | * After editing the policy file, recompile | + | * Edit the .te file. |
- | * Reload | + | * Recompile and load the module. |
+ | checkmodule -M -m -o wfica.mod wfica.te | ||
+ | semodule_package -o wfica.pp -m wfica.mod | ||
+ | semodule -i wfica.pp</ |
generate_selinux_policy.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1