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.
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
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
Updated by The Foreman Bot almost 4 years ago
- Fixed in Releases foreman_remote_execution 4.0.0 added
Updated by Anonymous almost 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_plugin|053d55980f136b6983b4c7bd8eb63cba1fa75268.
Updated by Adam Ruzicka over 3 years ago
- Fixed in Releases foreman_remote_execution_core 1.4.0 added