Sometime when you run an application in Linux, it starts and suddenly stops or just doesn’t work. Then you find that its selinux which is stopping you to run your application.
Selinux is good security feature of Linux stop you to execute malicious applications. But it need to disable when you need to run your self developed application. You can check the selinux status by using following command:
# cat /selinux/enforce
If it will show 1, that means selinux enforcing is enabled.
You can disable that selinux temporarily or permanently. Use following methods to disable it.
To disable selinux temporarily set the 0 to /selinux/enforce file.
# echo 0 > /selinux/enforce