Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using semanage, how do you set SELinux to permissive mode for httpd , without affecting the global SELinux mode? Answers: 1 . Execute semanage permissive

Using semanage, how do you set SELinux to permissive mode for httpd, without affecting the
global SELinux mode?
Answers:
1. Execute semanage permissive -a httpd t to add httpd to the permissive mode type list, allowing
it to run in permissive mode while the rest of the system remains in enforcing mode.
2. Run semanage permissive -d httpd t to delete httpd from the enforcing mode list, automatically
placing it in permissive mode.
3. Use semanage boolean -m --on httpd permissive to toggle httpd to permissive mode via SELinux
booleans.
4. Change httpd to permissive mode by editing /etc/selinux/config and replacing SELINUX=enforcing
with SELINUX=permissive for httpd.
5. Run semanage permissive -m httpd t to modify httpd to run in permissive mode.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Successful Keyword Searching Initiating Research On Popular Topics Using Electronic Databases

Authors: Randall MacDonald, Susan MacDonald

1st Edition

0313306761, 978-0313306761

More Books

Students also viewed these Databases questions

Question

Discuss the history of human resource management (HRM).

Answered: 1 week ago