Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-5101

`realm join` Not Fully Compatible With `authselect`

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-8.8.0
    • realmd
    • None
    • Moderate
    • sst_idm_sssd
    • ssg_idm
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:

      Current hardening guidelines specify the presence of several PAM-related hardenings. Use of `realm join` to bind to an external, kerberized directory-service (in our case, Active Directory) requires the use of `authselect`. We're able to convert hardening guidance to using `authselect` within the default sssd profile except for the setting of the pam_lastlog.so's "session" definition with /etc/pam.d/postlogin to `required`. While we CAN configure the necessary change from `optional` to `required` by using a custom `authselect` profile, as soon as a `realm join` is performed, the custom-profile is de-selected in favor of the default `sssd` profile.

      Version-Release number of selected component (if applicable):

      How reproducible:

      Steps to Reproduce:
      1. Spin up new system
      2. Create a new authselect profile
      3. Apply the custom authselect profile
      4. Apply required hardenings to custom profile's files
      5. Perform a `realm join`

      Actual results:

      Find that some hardenings – particularly the customized pam_lastlog.so's session entry in the postlogin file – have been reverted because the in-use authselect profile has been changed to the vendor-shipped `sssd` profile

      Expected results:

      All hardenings remain as specified and that custom `authselect` profile is still in use.

      Additional info:

              sbose@redhat.com Sumit Bose
              redhat@xanthia.com Thomas Jones (Inactive)
              Sumit Bose Sumit Bose
              Shridhar Gadekar Shridhar Gadekar
              Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: