Skip to content

SDKMAN environment variables don't change when su-ing to another user #25

@reitzig

Description

@reitzig

Run the following commands:

$ whoami
raphael
$ echo $SDKMAN_CANDIDATES_DIR
/home/raphael/.sdkman/candidates
$ su dhtp
Password: 
$ whoami 
dhtp
$ echo $SDKMAN_CANDIDATES_DIR

Expected: /home/dhtp/.sdkman/candidates

Actual: /home/raphael/.sdkman/candidates

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions