-
Connect to a server via SSH.
-
Open the
/etc/selinux/configfile in any text editor. In this example, we are using the vi utility:# vi /etc/selinux/config
-
Change the
SELINUXvalue to:-
disabledto completely turn off SELinux on the server:SELINUX=disabled
-
permissiveto make SELinux print warnings instead of enforce security policy:SELINUX=permissive
-
enforcingto make SELinux security policy enforced:SELINUX=enforcing
-
-
Save the changes and close the file.
Note: A server restart is required to apply these changes.
-
Check the permanent status of SELinux:
# sestatus | grep "Mode from config file"
Mode from config file: permissive
- plesk
- 4 Users Found This Useful