Project

General

Profile

Actions

Feature #30188

closed

Provide the ability to use su as the effective method with password

Added by Suraj Patil almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1677180

Business Case
Due to an unspecified security compliance being in use, it is required to have disabled sudo for all accounts, to not allow the root account to SSH into the remote machine and switching to root account must require the user to supply the root password. Usage of dzdo is not suitable either. Therefore, in this case it is necessary to use su as the effective user method, but with password. This is currently not possible due to su being available only as passwordless option.

Technical Requirements:
Providing a new parameter to specify su password, similar to the already present "Sudo password" in settings (or "ansible_sudo_pass" in case of Ansible jobs)

Additional information:
This concerns primarily "Run Commands - SSH Default" and "Run Commands - Ansible Default" templates.


Related issues 1 (0 open1 closed)

Related to Ansible - Bug #30384: Change ansible secrets from 'sudo_password' and 'ssh_password' to 'effective_user_password'ClosedSuraj PatilActions
Actions #1

Updated by Suraj Patil almost 4 years ago

  • Assignee set to Suraj Patil
Actions #2

Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/508 added
Actions #3

Updated by Suraj Patil almost 4 years ago

  • Related to Bug #30384: Change ansible secrets from 'sudo_password' and 'ssh_password' to 'effective_user_password' added
Actions #4

Updated by The Foreman Bot almost 4 years ago

  • Fixed in Releases foreman_remote_execution 4.0.0 added
Actions #5

Updated by Anonymous almost 4 years ago

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

Updated by Adam Ruzicka over 3 years ago

  • Fixed in Releases foreman_remote_execution_core 1.4.0 added
Actions

Also available in: Atom PDF