fix(command): authoritative sudo required - #1295
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughThe sudo-password prompting logic in ChangesSudo Detection Update
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thanks for the PR ! @claude please check if any task, tool installs, or addon installs, or raw Command.execute() blocks could be impacted by this change. |
|
@claude it was actually |
|
Claude finished @ocervell's task in 2m 36s —— View job Checked impact of the
|
|
@claude we do need to handle these cases by passing explicit |
|
Claude finished @ocervell's task in 2m 55s —— View job Added explicit
|
Some commands might use sudo in their options set, like for running RCEs with custom pentest tools.
E.g:
Currently, that would mean the system autodetect sudo in the cmd string, and pre-prends 'sudo' to the command, which is not the desired outcome in that case.
Summary by CodeRabbit