sudo_exec
Run shell commands with sudo privileges using a pre-stored password, avoiding repeated credential entry.
Instructions
Execute a command with sudo using the stored password.
Args: command: The shell command to run with sudo. timeout: Timeout in seconds (default 120).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |