LPI
202-400 · Question #105
After setting up Apache to run inside a chroot jail as a non-root user, httpd no longer starts. What is the primary cause of the problem?
The correct answer is A. Apache needs to start as root to bind to port 80. See the full explanation below for the reasoning.
Question
After setting up Apache to run inside a chroot jail as a non-root user, httpd no longer starts. What is the primary cause of the problem?
Options
- AApache needs to start as root to bind to port 80
- BApache cannot read the main index.html file because it was not moved into the chroot
- CA LoadModule line for mod_chroot needs to be added to httpd.conf
- DApache requires a VirtualHost directive when running from a chroot environment
- EThe mod_chroot configuration needs the absolute path to the chroot environment
How the community answered
(44 responses)- A82% (36)
- B2% (1)
- C2% (1)
- D9% (4)
- E5% (2)
Community Discussion
No community discussion yet for this question.