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

remote_execution_effective_user_password no longer work when switching from one user to another

XMLWordPrintable

    • Moderate
    • To Do
    • Yes

      Description of problem:

      As $subject and this stops working from 6.12 upwards.

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

      How reproducible:

      Easy

      Steps to Reproduce:

      1. Create a regular user (rexuser) on a system
      2. On the same system create another user that will be the effective_user
      3. Allow ssh key to login with first user
      4. Define a password for the effective_user
      5. On Satellite, define the effective user method to su
      6. Define the remote_execution_effective_user_password on satellite
      7. try running a simple job

      Actual results:
      On Satellite:

      su: Authentication failure

      On the host /var/log/secure:

      unix_chkpwd[20384]: password check failed for user (test)
      su: pam_unix(su-l:auth): authentication failure; logname= uid=1000 euid=0 tty= ruser=rexuser rhost= user=test

      Expected results:

      remote_execution_effective_user_password should take effect

      Additional info:

              aruzicka@redhat.com Adam Ruzicka
              mjiao@redhat.com Manjun Jiao
              Lukas Hellebrandt Lukas Hellebrandt
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: