Adjust SELinux Policy with Booleans Flashcards
What command do you use to adjust the configuration file to enable the Apache feature so that users can public web content from their home directory?
vim /etc/httpd/conf.d/userdir.conf
What command do you use to make an Apache user home directory?
mkdir ~/public_html
What command do you use to change the /home/student directory permissions to allow the Apache web service to access the public_html subdirectory?
chmod <octal> ~</octal>
What command is used to see whether any Booleans restrict access to home directories for the httpd service?
getsebool -a | grep home
What command is sued to enable persistent access to the home directory for the httpd service?
setsebool -P httpd_enable_homedirs on