Skip to content

feat(shell-user): Use configured user when running the shell command#1

Open
rydurham wants to merge 1 commit into
ksafranski:mainfrom
stagerightlabs:feat/shell-user
Open

feat(shell-user): Use configured user when running the shell command#1
rydurham wants to merge 1 commit into
ksafranski:mainfrom
stagerightlabs:feat/shell-user

Conversation

@rydurham

@rydurham rydurham commented Nov 26, 2024

Copy link
Copy Markdown

It would be handy to have the option for the shell command drop into a non-root user. This PR updates that command to defer to a configured user if it is present, falling back on 'root' if it is not.

Ideally we would want option to shell in as root as well; but that might add extra complexity - I am not sure if it is worth it or not.

There is an extra white space change in this commit - I can remove that if you would prefer.

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.

1 participant