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

Also available in: Atom PDF