terets
07-20-2005, 03:42 PM
Hello all once again...
I'm managing around 20 or so solaris and redhat boxes. I've setup a management server and need to create a deploy script.
I've got most of it going, except for some very important logic.
I am not able to ssh to any of the boxen as root, a given company policy based on Sarbanes Oxley compliance. For this reason, I cannot scp directly as root.
I have to deploy several files and the only way to do such is with root privledges. Can i feed su a password directly on the command line?
I know, if running ps, that password is known, however, I do intend to wrap it with a different script.
No documentation I have found details this, but wanted to know if anyone knew how.
I'm managing around 20 or so solaris and redhat boxes. I've setup a management server and need to create a deploy script.
I've got most of it going, except for some very important logic.
I am not able to ssh to any of the boxen as root, a given company policy based on Sarbanes Oxley compliance. For this reason, I cannot scp directly as root.
I have to deploy several files and the only way to do such is with root privledges. Can i feed su a password directly on the command line?
I know, if running ps, that password is known, however, I do intend to wrap it with a different script.
No documentation I have found details this, but wanted to know if anyone knew how.