Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Support su not just sudo #482

Open
mdvickst opened this issue Nov 20, 2017 · 1 comment
Open

Support su not just sudo #482

mdvickst opened this issue Nov 20, 2017 · 1 comment

Comments

@mdvickst
Copy link

Opening a new issue


Specify type:

  • Enhancement

Bug severity (if applicable):

  • Low

Description:

Some users don't allow users to execute privileged commands (even with sudo) they must use su to become root. We should support become_method=su to allow those users to run privileged commands as root user.

Maybe we add an auth option that is become_method where default is "sudo" but it accepts "su" and then we may also need to support become_user default being "root".


@mdvickst
Copy link
Author

The specific request for this comes from a customer that is logging in via SSH with a shared account "e.g. srv_admin" and then they use the command "sudo su" to gain access to run privileged commands. srv_admin is listed in sudoers as being able to run "su" so this allows them to get root access without knowing the root password. In this case we would want to support sudo and su if that's possible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants