Security Enhanced Linux (SELinux)
Reset to initial state
setenforce 0 dnf remove selinux-policy\* rm -rf /etc/selinux/targeted /etc/selinux/config dnf install selinux-policy-targeted selinux-policy-devel policycoreutils-gui touch /.autorelabel reboot
Commands
disable | setenforce 0 |
---|---|
change ssh port | semanage port -a -t ssh_port_t -p tcp 22 |
Samba
man samba_selinux