Selinux disable temporarily or permanently

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

1

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.