Skip to content

Conversation

@kevineor
Copy link

@kevineor kevineor commented May 5, 2024

Today, the provider does not handle programs that are defined as shell alias.

This is primarily due to the go exec LookPath limitation, it searches from PATH environment variable but does not provide any shell implementations.

This is a proposition to execute the program from a shell when the program is not located in PATH.
For now the following shells are supported :

  • bash
  • fish
  • zsh
  • ksh
  • ash
  • sh
  • dash

I took as example an implementation from https://github.com/mmmorris1975/aws-runas

@kevineor kevineor requested a review from a team as a code owner May 5, 2024 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant