Apologies but to me is not clear on how to disable the SElinux on Rocky 9.4.
By editing the file in /etc/selinux/config or using grubby commands, or I need to do it both?
Thank you
Maria
Apologies but to me is not clear on how to disable the SElinux on Rocky 9.4.
By editing the file in /etc/selinux/config or using grubby commands, or I need to do it both?
Thank you
Maria
Just grubby
; see, for example, How do I turn SELinux off in Red Hat Enterprise Linux? - Red Hat Customer Portal which describes how to do it for the different releases (all the way back to RHEL4!)
edit the file /etc/selinux/config and reboot.
vim /etc/selinux/config
# Comment out the line that has SELINUX=enforcing
# Add a line
SELINUX=disabled
OR a line
SELINUX=permissive
You can set SELINUX to permissive temporarily by running as root
# setenforce 0