Project

General

Profile

Actions

Bug #37570

closed

remote_execution_effective_user_password no longer work when switching from one user to another

Added by Adam Ruzicka 5 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-

Description

remote_execution_effective_user_password no longer work when switching from one user to another
Cloned from 15801530

Description of problem:
As $subject and this stops working from 3.3 upwards.

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 Foreman:

su: Authentication failure

On the host /var/log/secure:

unix_chkpwd20384: 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:

Actions #1

Updated by The Foreman Bot 5 months ago

  • Status changed from New to Ready For Testing
  • Assignee set to Adam Ruzicka
  • Pull request https://github.com/theforeman/smart_proxy_remote_execution_ssh/pull/116 added
Actions #2

Updated by Adam Ruzicka 3 months ago

  • Status changed from Ready For Testing to Closed
Actions #3

Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/smart_proxy_remote_execution_ssh/pull/118 added
Actions #4

Updated by Adam Ruzicka 2 months ago

  • Fixed in Releases smart_proxy_remote_execution_ssh-0.11.1 added
Actions #5

Updated by Adam Ruzicka 2 months ago

  • Fixed in Releases smart_proxy_remote_execution_ssh-0.11.2 added
  • Fixed in Releases deleted (smart_proxy_remote_execution_ssh-0.11.1)
Actions

Also available in: Atom PDF