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

Add "exec as" feature to public package interface #516

Merged
merged 6 commits into from
Dec 4, 2024

Conversation

sfc-gh-ikryvanos
Copy link
Collaborator

Add to service public interface possibility to execute processes as specified user, it allows to run commands as specified user in case sansshell used as go module

Copy link
Collaborator

@sfc-gh-mwalas sfc-gh-mwalas left a comment

Choose a reason for hiding this comment

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

Please remove code duplication (as it is trivial to do here), otherwise looks good.

services/exec/client/utils.go Show resolved Hide resolved
services/exec/client/utils.go Show resolved Hide resolved
@sfc-gh-ikryvanos sfc-gh-ikryvanos merged commit 2065a91 into main Dec 4, 2024
7 checks passed
@sfc-gh-ikryvanos sfc-gh-ikryvanos deleted the 2024-11_support-exec-as branch December 4, 2024 10:09
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

Successfully merging this pull request may close these issues.

3 participants