Quantcast
Channel: Linux Explore » Linux hacks
Viewing all articles
Browse latest Browse all 9

Selinux disable temporarily or permanently

$
0
0

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.

Disable Temporarily:

To disable selinux temporarily set the 0 to /selinux/enforce file.

# echo 0 > /selinux/enforce

Read more.


Filed under: Linux Explore Tips & Tricks Tagged: /etc/selinux/config, /selinux/enforce, command cat, disable selinux, good security, intowire, Linux, Linux Administrator, Linux hacks, Linux Howto, Linux Tips, selinux, technology, Unix

Viewing all articles
Browse latest Browse all 9

Trending Articles