How to securely automate running commands as root with “sudo su -”?
So.. it would be a very easy task to automate running commands via SSH on servers with the root user on server side (in the end we need to run a script from a desktop machine on server side with root user, but running a command automated would be enough to know, from there we could do the thing..).
BUT: the Question is that how to securely automate running commands with root if we have to "sudo su -" first on the server, and give password in it?
UPDATE: modifying the sudoers file is not an option. (maybe puppet can do ... (more)