-
Notifications
You must be signed in to change notification settings - Fork 138
Removing SELinux Contexts with CLI
Endi S. Dewata edited this page Jul 17, 2023
·
2 revisions
$ semanage fcontext -d "/var/log/pki/pki-tomcat(/.*)?" $ semanage fcontext -d "/var/lib/pki/pki-tomcat(/.*)?" $ semanage fcontext -d "/etc/pki/pki-tomcat/alias(/.*)?" $ semanage fcontext -d "/etc/pki/pki-tomcat(/.*)?"
$ semanage port -d -t http_port_t -p tcp 8005 $ semanage port -d -t http_port_t -p tcp 8009 $ semanage port -d -t http_port_t -p tcp 8443 $ semanage port -d -t http_port_t -p tcp 8080
$ semanage port -d -t ldap_port_t -p tcp 636 $ semanage port -d -t ldap_port_t -p tcp 389
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |