Feature #30188
closedProvide the ability to use su as the effective method with password
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.