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

Allow collector to run as a different user #618

Closed
rafaelpereyra opened this issue Aug 19, 2021 · 2 comments
Closed

Allow collector to run as a different user #618

rafaelpereyra opened this issue Aug 19, 2021 · 2 comments
Labels

Comments

@rafaelpereyra
Copy link

Description: While fixing #524 , the ability to use an environment variable (AOT_RUN_USER) was removed from the code forcing the collector to run with the default user (aoc).

Use case:

  • System administrators might be interested in controlling the user running this collector to match any naming convention or UID/GID patterns.

Solution:

Partially revert the code to use the function getCustomUser to populate the variable aocUserName and default to aoc otherwise.

@github-actions
Copy link
Contributor

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale label Nov 14, 2021
@github-actions
Copy link
Contributor

This issue was closed because it has been marked as stall for 30 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant