Usually when a sudo command is executed in a remote server, an error is receive telling us that a remote sudo in not possible, even if the user have permissions for the command we want to use.
This is because sudo, by default, requires a tty to be executed, making not possible to execute it.
CollectNode captures the sudo commands and processes them in a way that this requirement is no longer a problem.
With the command configure we can now configure the password to use if the sudo execution requires a password in the remote servers. If the sudo password is not configured, CollectNode will use the password of the user used to connect to the remote servers.
Now execute remote sudo is easiest than ever 🙂