su to another user in shell script

Hi All,
I want some help in creating a shell script. I am running a script thru user1, then I need to su to user2, run a script from that user and return back to user1 and proceed further.

Please help me.
Abhi

try sudo command in your script, but the permissions needs to be present in the sudoers file.

man sudo