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

Agents does not start in agent isolation mode unless volttron user had password less sudo for all command #3117

Open
schandrika opened this issue Sep 11, 2023 · 0 comments · Fixed by #3118
Assignees

Comments

@schandrika
Copy link
Contributor

To reproduce.

  1. Use a unix user without any sudo access for the below steps
  2. Enable a agent isolation mode in volttron instance as described in https://volttron.readthedocs.io/en/main/platform-features/security/agent-isolation-mode.html and start volttron
  3. Install agent
  4. Start agent. Agent will fail to start and user will get prompted for sudo password on command line

Environment

python 3.10 on Ubuntu

Fix

Update secure_user_permissions.sh script to update sudoers file with the correct restricted sudo access to unix user used to run agent

@schandrika schandrika self-assigned this Sep 11, 2023
schandrika added a commit to schandrika/volttron that referenced this issue Sep 11, 2023
@schandrika schandrika linked a pull request Sep 20, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant