SELinux set to disabled then going back to permissive
Posted: 2019/05/19 04:54:05
- tried making samba work, it would not; come to find out [correct me if i'm wrong] that default install of CentOS (or RHEL) that SELinux is set to enforcing but only SSH for example is allowed (ignorance is bliss) but SAMBA is not.
- so I hastily found out about /etc/selinux/config and I set that sucker to disabled. Bamm, after reboot samba magically works.
- then 5 minutes after reboot... reading the other option about permissive in the header of that file (as well as on the web and RHEL security guide) I am thinking I should have set it to permissive not disabled.
- So I did, did a reboot, and system actually automatically rebooted twice on me but it came back up.
- Now SSH does not work; so i went back to disabled, and SSH works.