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

become_user / Check for adequate privilege escalation rights #109

Open
tabacha opened this issue Sep 18, 2020 · 0 comments
Open

become_user / Check for adequate privilege escalation rights #109

tabacha opened this issue Sep 18, 2020 · 0 comments

Comments

@tabacha
Copy link

tabacha commented Sep 18, 2020

Hi,

the role did not work for us, because we got an assert in in the check "Check for adequate privilege escalation rights",

I analyed this further and found out, that it works when I change the shell from /bin/false to bin/bash. But it was changed back in the Task: Ensure the Rocket.Chat service user is present

After I added become_flags: '-s /bin/bash' to the task "Check for adequate privilege escalation rights",and the task Install Rocket.Chat via NPM, the role works as wanted.

I did not know what is best practise to fix this, as there are more become methods than su.

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

No branches or pull requests

1 participant