feat: assume the privileged user is the user that is running nucleus#1764
feat: assume the privileged user is the user that is running nucleus#1764limingyaoo merged 2 commits intomainfrom
Conversation
|
Binary incompatibility detected for commit c1b4e32. com.aws.greengrass.tes.CredentialRequestHandler is binary incompatible and is source incompatible because of FIELD_REMOVED Produced by binaryCompatability.py |
|
Unit Tests Coverage Report
Minimum allowed coverage is Generated by 🐒 cobertura-action against c1b4e32 |
|
Integration Tests Coverage Report
Minimum allowed coverage is Generated by 🐒 cobertura-action against c1b4e32 |
Issue #, if available:
Description of changes:
Changed PRIVILEGED_USER from hardcoded "root" to dynamically load the current user running Nucleus.
Why is this change necessary:
This change enables non-root users to run Nucleus without additional configuration by ensuring PRIVILEGED_USER is set to the actual executing user instead of assuming root.
How was this change tested:
Any additional information or context required to review the change:
Documentation Checklist:
Compatibility Checklist:
any deprecated method or type.
Refer to Compatibility Guidelines for more information.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.