Problem Statement: We have 400 shell scripts to be tested and they run over 4-5 different unix environments. All these are run in SUDO mode.
My requirement is to Define aliases for each script which accepts the Date & Order ID as a parameter so that I can submit all these scripts from 1 server.
I am new to unix shell programming. My requirement is
e.g. script1 is on server 1
script2 is on server 2
we use the same userid & password to login into server 1 & 2 as both are being accessed using LDAP. can I write a script which can invoke script2 on server 2 from server 1 using sudo su - myrole. Thanks.