How to run unix script with different user
I want to run one script which is at /home/dsadm/test.sh with user : dsadm
. I have another user : juggel. I want this script to run with juggel user
and I want password to be passed as a parameter while running the script ,
because this is automated script and I can't enter the password manually
everytime. Can anyone suggest.
No comments:
Post a Comment