Calling another script as another user from within a perl script

We have a perl script that works as user x. This script should call / run another script as user y (only he has privileges to run this script). Can someone help me with various ways in which this can be done?

EDIT OS will be Sun Solaris 5.10

+3
source share
1 answer

You can use the Sudo module .

+2
source

All Articles