Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-5991

RH134-164: Confusion around UserDir in SELinux boolean exercise

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • RH134 - RHEL 7 3 20170803
    • RH134 - RHEL 7 0
    • RH134
    • None
    • ILT, ROLE, VT
    • en-US (English)

      URL:
      Reporter RHNID:
      Section: -
      Language: en-US (English)||||||||
      Workaround:

      Description: Step 1 of the exercise "Practice: Changing SELinux Booleans" in RH134 Chapter 7 (RH199 Chaper 5) asks students to

      Edit the /etc/httpd/conf.d/userdir.conf configuration file and change
      the line with the UserDir directive to read as follows:

      UserDir public_html

      The catch is that it's not just "the line", there are two UserDir lines in userdir.conf. One is uncommented and reads "UserDir disable", and the other is commented out and reads "UserDir public_html". The intent of the author is that students edit the uncommented "UserDir disable" line and leave the second one commented out. There's a follow up <screen> with a grep that's presented without comment, which shows only one UserDir line uncommented.

      However, if they leave that one alone and (mistakenly) simply uncomment the second line, then it won't work because the "UserDir disable" globally disables UserDir, and there is no explicit UserDir enable username mappings to allow the second line's mapping to work for anyone.

      Text should be edited to clarify that there should be exactly one UserDir line uncommented at the end of the exercise. Text explaining what the grep is showing would also help.

      Reported from ROLE student but present in all modes, RT req #13423487.

              wboessen Wander Boessenkool (Inactive)
              rht-sbonnevi Steven Bonneville
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: