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

RH199-73: CLONE - Confusion around UserDir in SELinux boolean exercise

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • RH199 - RHEL 7 3
    • RH199 - RHEL 7 1
    • RH199
    • None
    • 7
    • 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: