Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Need help with suid perl

by hmerrill (Friar)
on Nov 18, 2004 at 12:57 UTC ( [id://408756] : note . print w/replies, xml ) Need Help??


in reply to Need help with suid perl

Let me get this straight - you want "openwebmail" to run from the webserver *as* a user other than the webserver default user "nobody" - is that right?? What user do you want "openwebmail" to run as?

I'm asking because I'm familiar with the apache "suexec" wrapper which allows the webserver to run scripts *as* the owner of those scripts (instead of as the webserver default "nobody" user). Does this sound like what you're looking for?

Replies are listed 'Best First'.
Re^2: Need help with suid perl
by Dungeon666 (Initiate) on Nov 19, 2004 at 03:09 UTC
    Openwebmail is a mail server that runs from the web. It requires suidperl. I have installed the suidperl rpm and suid shows up in /usr/bin but if try to access openwebmail from the web i get internal server error. Inside the http access_error logs it says can't set suid. Is this not a perl problem? If there is something in apache that i am forgetting to enable or configure can you explain where to look to how to do that?
      I'm not familiar with Openwebmail nor with suidperl. If I were you I would join the fedora-list mailing list, and/or join the #fedora IRC chat on freenode.net and ask your questions there. Good luck - sorry I can't be more help.