[sudo-users] Sudo remote commands?

Todd C. Miller Todd.Miller at sudo.ws
Sat Nov 4 19:12:12 MDT 2023


On Sun, 05 Nov 2023 01:02:27 -0000, Ronan Pigott via sudo-users wrote:

> The sudo_plugin manpage features a section on "Remote Command
> execution" which details usage of the -h host flag to (theoretically)
> run commands on remote systems with the help of a sudo plugin. It
> seems this description was added ~10 years ago in [1] without further
> elaboration or reference.
>
> I don't believe the sudoers plugin has such a feature. Does anyone
> know of such a system or plugin? Has sudo -h ever been used
> successfully?

The sudoers plugin only supports using the -h option for listing
privileges in conjunction with the -l option.

In theory, it should be possible for a sudo plugin to support remote
commands but the sudoers plugin does not implement this.

 - todd


More information about the sudo-users mailing list