0

What should be done when the systemctl access denied error occurred?

Asked 2 weeks ago (Mar 31, 2021) in the field of Operating Systems by Amanda

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.


Answers


0
Answered 2 weeks ago (Mar 31, 2021) by Eldernode Staff

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

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+18054214518

7 days a week, 24 hours a day