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

Satellite asks for effective user password while sudo uses ssh user password

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Endeavour
    • None

      Description of problem:

      When you run a ReX job with ssh user `sshuser` and effective user `effectiveuser`, using method `sudo`, Satellite asks you for effective user password.

      Sudo on RHEL actually uses the password of the user invoking sudo, not of the target user, so when you fill password of `effectiveuser`, the call and whole ReX will fail.

      How reproducible:

      Deterministic

      Is this issue a regression from an earlier version:

      No

      Steps to Reproduce:

      1. In ReX wizard, go to tab Advanced fields

      Actual behavior: It has a field `Effective user password` with description `Effective user password is only applicable for SSH provider. Other providers ignore this field. Password is stored encrypted in DB until the job finishes. For future or recurring executions, it is removed after the last execution.`

      Expected behavior:
      When the method is `sudo`, it should ask me for ssh user password, or if behavior differs, describe it correctly.

              Unassigned Unassigned
              lhellebr@redhat.com Lukas Hellebrandt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: