SAN
SAN

Reputation: 2247

run cgi script as a different user

I have a tool written in perl which is used by different users in my company. Each user has his/her own disk space allocated to them and they run the tool in their diskspace. This is working fine without any issues. As a next step, I wanted to enable the tool through web and created a web application through which users can run this tool, the issue that i have is, the tool is always run as a single user. I know the user name through authentication, is there a way by which i can run the tool as the user who is running the web application?

Upvotes: 2

Views: 4300

Answers (1)

daxim
daxim

Reputation: 39158

Yes, suexec.

Also see questions tagged .

Upvotes: 6

Related Questions