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

Make sudo as an option #8

Closed
yuchen-sun opened this issue Nov 26, 2021 · 1 comment
Closed

Make sudo as an option #8

yuchen-sun opened this issue Nov 26, 2021 · 1 comment
Assignees

Comments

@yuchen-sun
Copy link

The commands in the code are now prefixed with sudo by default, which may introduce

  1. security problems
  2. users actually have permission to follow commands, but not a sudoer, causing tasks to fail. (For example, the user is in the docker group, but not a sudoer)

I feel that sudo should be included as an optional parameter -sudo or --root ? and only add sudo in front of the command after enabling the parameter.

@Wine93
Copy link
Collaborator

Wine93 commented Jul 26, 2022

CurveAdm v1.0 has support the sudo option, like curveadm deploy --sudo.

@Wine93 Wine93 closed this as completed Jul 12, 2023
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

No branches or pull requests

2 participants