perlish
perlish

Reputation: 31

Invoking another script as a different user from within a perl script

We have a perl script that runs as a user x. This script needs to invoke/run another script as user y (Only y has privileges to run that script) Can someone help me with the different ways in which this can be done?

EDIT The OS would be Sun Solaris 5.10

Upvotes: 3

Views: 280

Answers (1)

Ted Hopp
Ted Hopp

Reputation: 234847

You can use the Sudo module.

Upvotes: 2

Related Questions