Shutting down the firewall
Selinux=disabled
Can be in three different states
# Enforcing -SELinux security policy is enforced. Open
# Permissive -SELinux prints warnings instead of enforcing. Open do not intercept
# Disabled -No SELinux policy is loaded. Off, default
SELinux is open, you can use the following two commands
The first command is to query the status of SELinux, which is turned off.
The second command is a temporary shutdown.
The third command is temporarily opened.
Permanently open or close to modify the above configuration file. Vim/etc/selinux/config
Restart takes effect.
It can also be turned on or off temporarily, and will take effect the next time it is switched on.
////////////////////////////////////////////////////////////////////////////////////////////
Summary: Open If you understand selinux, otherwise close.
Linux daily Management-firewall SELinux