Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-20750

remote_execution_ssh_keys does not work as expected with external (kerberos) users with root permission

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.15.0
    • 6.12.0
    • Provisioning Templates
    • None
    • 0
    • False
    • Important
    • None
    • None
    • None
    • None

      Description:

      The remote_execution_ssh_keys snippet does not properly set the ownership of the remote_execution_ssh_user when that user is an external user from a directory like FreeIPA.

      In this configuration, the user's home directory is created with root ownership and the snippet as is, only sets the correct ownership of the .ssh sub-directory.

      This prevents remote execution jobs from succeeding due to the home directory being owned by root.

      There is an upstream bug been created and closed

      https://projects.theforeman.org/issues/36673

      https://github.com/theforeman/foreman/pull/9805

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              Shubham Ganar Shubham Ganar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: