SELinux quiz
Ten questions across the whole chapter. Each answer explains why. Aim for eight before moving on to chapter 17.
- What does SELinux add to ordinary file permissions?
- Which command shows file contexts?
- A file in /srv/web has type var_t. httpd cannot read it. Permanent fix?
- What happens to the label of a file moved with mv?
- Which command makes a boolean permanent?
- A service bound to a non-standard port is denied. Which tool labels the port?
- Where is the permanent SELinux mode set?
- Which package provides sealert?
- A colleague proposes SELINUX=disabled to fix a denial. What do you say?
- Which command previews what restorecon would change?