eileen1017
MIS
I need to write a perl script that have to be run as a specific unix user. I know that in perl script you can use system to do any of the unix command. However, if I say "system 'su -username'; how should I type in the password. Does any one know the syntax to do this? I tried "system 'su -username/password';" But this did not work. Please help me! Thanks.