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:46] – [Editing .te policy file] 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 13: | Line 13: | ||
====If you need to edit the policy file==== | ====If you need to edit the policy file==== | ||
* Edit the .te file. | * Edit the .te file. | ||
- | * Recompile the policy. < | + | * Recompile |
- | * Reload the module. < | + | checkmodule |
+ | 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