I'm using Solaris 11.2. I can do this:
logon with an unprivileged account which is allowed to take on the 'root' role su type password run privileged command end the su
This works fine. The privileged command I want to run, though, is to SSH to another system with the same account and run the command *there* as the remotely privileged account/role, all from a script and without (obviously) having to type a password anywhere.
I've figured out how to do all this IF root is *not* a role and is a regular account. How do I do it while leaving root as a role?
Kevin