Skip to content

Environment variables whitelist #8

@ktosiek

Description

@ktosiek

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; }')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions