While I am using CentOS 8 I faced the‘’ Failed to execute operation Access denied’’ error after running the‘’ sudo systemctl disable httpd’’ command. Also when I run this command with the root user, I received the following errors. I appreciate it if someone please guide me.
To solve the problem, you must either open the access to the above service in SELinux or disable SELinux with the following command:
setenforce 0
+8595670151
7 days a week, 24 hours a day