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

🐛 support sudo over ssh on alpine #1869

Merged
merged 1 commit into from
Sep 24, 2023
Merged

🐛 support sudo over ssh on alpine #1869

merged 1 commit into from
Sep 24, 2023

Conversation

arlimus
Copy link
Member

@arlimus arlimus commented Sep 24, 2023

stat does not support all the flags on Alpine, particularly printf. We can skip newline escapes, since we only grab simple fields. The only limitation here is the SElinux context, which we do not return yet (so we can revisit that then). Even so, it is the last value returned, so we can stick with -c

stat does not support all the flags, especially printf. We can skip newline escapes, since we only grab simple fields. The only limitation here is the SElinux context, which we do not return yet (so we can revisit that then). Even so, it is the last value returned, so we can stick with `-c`

Signed-off-by: Dominik Richter <[email protected]>
@arlimus arlimus force-pushed the dom/ssh-sudo-alpine branch from 14aa767 to eb02d2e Compare September 24, 2023 04:09
Copy link
Member

@chris-rock chris-rock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @arlimus

@chris-rock chris-rock merged commit 1529818 into main Sep 24, 2023
10 checks passed
@chris-rock chris-rock deleted the dom/ssh-sudo-alpine branch September 24, 2023 09:03
@github-actions github-actions bot locked and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants