Hello
I need help with something and I am not sure it can be done but you never know.
Working with Unix Korn Shell can I automate a script using su (user_name) send password and execute few commands like pgp a file as that user and exit back to my session. What ever I tried it will sit at Password: . So much for automation. Can I send password and enter command in Korn shell script to accomplish this????
Thank You
I need help with something and I am not sure it can be done but you never know.
Working with Unix Korn Shell can I automate a script using su (user_name) send password and execute few commands like pgp a file as that user and exit back to my session. What ever I tried it will sit at Password: . So much for automation. Can I send password and enter command in Korn shell script to accomplish this????
Thank You