Re: Access right on files from CGI script

2002-04-05 Thread Issac Goldstand
I would say you should set up suexec to let the user that Apache runs as execute those specific commands as a privaleged user. But use suexec with EXTREME care. Issac bo wrote: Hello gurus, I am notivice on Apache configuration. I wrote a CGI program, which will display some system status

Access right on files from CGI script

2002-04-04 Thread bo
Hellogurus,I am notivice on Apache configuration.I wrote a CGI program, which will displaysome system status on the client PC's browser window.This CGI program will execute a couple of system commandunder /sbin with reading some system status from /proc.I have no problem to access or

Re: Access right on files from CGI script

2002-04-04 Thread Kee Hinckley
At 5:39 PM -0800 4/4/02, bo wrote: How do I allow those files accessible from the CGI script? The problem has nothing to do with Apache. The user that the Apache process is running as does not have access to those files. You need to either open up the permissions on /sbin to more users

Re: Access right on files from CGI script

2002-04-04 Thread simran
or of course, you could use the 'group's feature and put the user apache runs as in the right groups and give that group the permissions to run the files you want in /sbin... On Fri, 2002-04-05 at 14:12, Kee Hinckley wrote: At 5:39 PM -0800 4/4/02, bo wrote: How do I allow those files