Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR #8214/83318c36 backport][stable-9] fix: sudosu not working on some BSD machines #8631

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Jul 14, 2024

This is a backport of PR #8214 as merged into main (83318c3).

SUMMARY

The original sudosu does not work on some BSD machines and some versions of linux machine as the argument of su differs .

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

become.sudosu

ADDITIONAL INFORMATION

* fix: sudosu not working on some BSD machines

* fix: sudosu: added a flag (`alt_method`) to enhance compatibility with more versions of `su`

* Update changelogs/fragments/8214-sudosu-not-working-on-some-BSD-machines.yml

Co-authored-by: Felix Fontein <[email protected]>

* Update plugins/become/sudosu.py

Co-authored-by: Felix Fontein <[email protected]>

* Update plugins/become/sudosu.py

Co-authored-by: Felix Fontein <[email protected]>

* Update plugins/become/sudosu.py

Co-authored-by: Felix Fontein <[email protected]>

* Update plugins/become/sudosu.py

Co-authored-by: Felix Fontein <[email protected]>

* fix: sudosu: lint

---------

Co-authored-by: Felix Fontein <[email protected]>
(cherry picked from commit 83318c3)
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added backport become become plugin bug This issue/PR relates to a bug new_contributor Help guide this first time contributor plugins plugin (any type) labels Jul 14, 2024
@felixfontein felixfontein merged commit 1d9bfc2 into stable-9 Jul 14, 2024
146 checks passed
@felixfontein felixfontein deleted the patchback/backports/stable-9/83318c36aaf3f0e88362ac9d8a8d5ba7a4bfead2/pr-8214 branch July 14, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport become become plugin bug This issue/PR relates to a bug new_contributor Help guide this first time contributor plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants