Attempt to update a Host collection by selecting Package Installation, Removal, and Update > Update all packages > By remote execution
All hosts fail with “You need to be root to perform this command.” via standard output.
I have already configured the following global settings:
- Effective User Method = sudo
- Effective User
- Effective user password
- SSH User
- Default SSH password
- Use remote execution by default = yes
non-sudo remote commands execute successfully via Remote Execution. Issue appears to be limited to any RemoteExecution that requires escalation.
Have already confirmed user permissions are configured correctly, and the commands are successful on the client’s local console when using sudo.
Remote Execution should leverage sudo
Foreman and Proxy versions:
Distribution and version: