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

RH294-48: Inconsistency with exercise requirement and solution

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • RH294 - RHEL 8 1 20190531
    • RH294 - RHEL 8 0, RH294 - Early Access
    • RH294
    • None
    • 10
    • en-US (English)

      URL:
      Reporter RHNID: alpaslank
      Section: -
      Language: en-US (English)||||||||
      Workaround: Either change lineinfile module requirement or the solution accordingly

      Description: In "Guided Exercise: Managing Users and Authentication" step 6, "copy" module is used although the exercise tells to use "lineinfile" module:

       

      Add a fourth task to the play that uses the lineinfile module to modify the sudo config file and allow the webadmin group members to use sudo without a password on the remote host.

      The fourth task appears as follows:

      • name: Modify sudo config to allow webadmin users sudo without a password
        copy:
        content: "%webadmin ALL=(ALL) NOPASSWD: ALL"
        dest: /etc/sudoers.d/webadmin
        mode: 0440

              rht-sbonnevi Steven Bonneville
              alpaslank Alpaslan Kaplan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: