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

Environment variables whitelist #8

Open
ktosiek opened this issue Apr 16, 2018 · 0 comments
Open

Environment variables whitelist #8

ktosiek opened this issue Apr 16, 2018 · 0 comments

Comments

@ktosiek
Copy link

ktosiek commented Apr 16, 2018

It would be nice to have some way of taking some environment variables from the rundeck process.

I'm running rundeck inside k5start to get a Kerberos ticket, and I want this ticket to be usable by the ssh process. Passing KRB5CCNAME through makes it work. So far I'm using the plugin with this addition:

# Keep KRB5 variables from parent
source <(cat /proc/$PPID/environ | tr '\0' '\n' | awk '/^KRB5/ { print "export " $0; }')
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