polkit_pkexec
Execute a command with elevated privileges via pkexec, specifying target user (default root) and timeout to safely perform administrative tasks.
Instructions
Execute a command with elevated privileges using pkexec CLI escalation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | Target user (default 'root'). | root |
| command | Yes | Command string to execute. | |
| timeout_seconds | No | Timeout in seconds. |