> I'm trying to write a cgi script for use on my mail server which will > call tmda-address and generate addresses for me. I don't want to have > to login to my mail server just to run this program. I'd also like to > not have to remember and type type the entire command line. > > However, if my web server runs as user apache, how can I set things up > so that tmda-address can read a user's crypt_key?
My 2�: If you have configuration access to your box, you might try changing your crypt_key permissions to 640 and then placing crypt_key in the same group as apache is run. That would allow it to read the file. You will have to set ALLOW_MODE_640 as well. Apache can also be configured to run CGI as the script's owner instead of apache/nobody/etc. I've heard from several sources that this is a good mod to make as it better protects your system from abuse. It also makes it easier to figure out whose script has run awry. Gre7g. ================================================================= Gre7g Luterman [EMAIL PROTECTED] http://www.templeofluna.com/ Stay informed: http://www.templeofluna.com/keeper/mailinglist.htm If it weren't for sex, none of us would be here. And of course, by 'here' I mean 'on the internet'. _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
