privileged-command
Run administrative shell commands with sudo elevation through an approved SSH workflow. The sudo password is securely piped via stdin, with policy-based approval controlling execution.
Instructions
Execute a command with sudo elevation. Goes through the approval gate; approvalPolicy on the profile decides whether that is a prompt, an automatic allow, or a refusal. The sudo password is piped via stdin (never visible in process list).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to execute with sudo | |
| profile | No | Profile name |