nerdexam
CompTIA

XK0-004 · Question #60

A Linux administrator is testing a new web application on a local laptop and consistently shows the following 403 errors in the laptop's logs" The web server starts properly, but an error is…

The correct answer is C. httpd_enable_homedirs = 1. The error has nothing to do with the network. The error is generated while trying to read from /home/user1, a home directory. https://serverfault.com/questions/461504/what-is-the-difference-between-httpd-read-user-content- and-httpd-enable-homedirs

Security

Question

A Linux administrator is testing a new web application on a local laptop and consistently shows the following 403 errors in the laptop's logs" The web server starts properly, but an error is generated in the audit log. Which of the following settings should be enabled to prevent this audit message?

Options

  • Ahttpd_can_network_connect = 1
  • Bhttpd_enable_scripting = 1
  • Chttpd_enable_homedirs = 1
  • Dhttpd_enable_cgi = 1

How the community answered

(26 responses)
  • A
    19% (5)
  • B
    4% (1)
  • C
    65% (17)
  • D
    12% (3)

Explanation

The error has nothing to do with the network. The error is generated while trying to read from /home/user1, a home directory. https://serverfault.com/questions/461504/what-is-the-difference-between-httpd-read-user-content- and-httpd-enable-homedirs

Topics

#SELinux#httpd booleans#audit log#httpd_enable_homedirs

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice