clush: add --sudo support (#234) by thiell · Pull Request #477 · clustershell/clustershell · GitHub
Skip to content

clush: add --sudo support (#234)#477

Merged
thiell merged 1 commit into
clustershell:masterfrom
thiell:b185_sudo
Aug 3, 2022
Merged

clush: add --sudo support (#234)#477
thiell merged 1 commit into
clustershell:masterfrom
thiell:b185_sudo

Conversation

@thiell

@thiell thiell commented Jun 29, 2022

Copy link
Copy Markdown
Collaborator

Add support for sudo password prompt and forwarding over stdin to a
predefined sudo command. The sudo password is then sent over stdin
to the target nodes that will run the actual command prefixed by
the sudo command.

Add sudo_command option to clush.conf.

Closes #234.

@thiell thiell added the Scripts label Jun 29, 2022
@thiell thiell added this to the 1.8.5 milestone Jun 29, 2022
@thiell thiell requested a review from degremont June 29, 2022 19:24
@thiell thiell self-assigned this Jun 29, 2022
@thiell thiell requested a review from martinetd June 29, 2022 20:23
Comment thread doc/man/man1/clush.1 Outdated
Comment thread lib/ClusterShell/CLI/Clush.py Outdated
Comment thread doc/sphinx/tools/clush.rst Outdated
Comment thread lib/ClusterShell/CLI/Clush.py Outdated
@thiell thiell modified the milestones: 1.8.5, 1.9 Jun 30, 2022
Add support for sudo password prompt and forwarding over stdin to a
predefined sudo command. The sudo password is then sent over stdin
to the target nodes that will run the actual command prefixed by
the sudo command.

Add sudo_command option to clush.conf.

Closes clustershell#234.
@thiell thiell merged commit 796549c into clustershell:master Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

clush: Interactive usage - sudo with password and requiretty

3 participants