[cgiwrap-users] RE: cgiwrap
Brought to you by:
nneul
From: Nathan N. <nn...@um...> - 2002-05-31 21:14:49
|
You probably configured cgiwrap with something bogus for the cgi-dir configuration option. I suggest you contact a local system administrator. As far as the uid error, read the docs, that is a configuration option, and the default is that way intentionally, it is extremely dangerous to put cgi scripts in for 'root' if you are not knowledgeable enough to write them securely. -- Nathan On Fri, 2002-05-31 at 16:10, Captain Zod wrote: > I got around my problems by creating subdirectories in where the cgiwrap > was thinking the cgi-bin should be. I tested this setup with a regular user > and that works. I tried to recreate this for user root. So I created > /root/public_html/cgi-bin, and I am getting an access control error! Do yo > know what this is about? > > CGIWrap Error: Access Control > > --------------------------------------------------------------------------- > ----- > > CGIWrap access control mechanism denied execution of this script for the > following reason: > > UID of script userid less than configured minimum > > > thx, > > zod > > > > --On Friday, May 31, 2002 3:08 PM -0500 "Neulinger, Nathan" <nn...@um...> > wrote: > > > In that case, you should probably run your script under cgiwrapd to get > > diagnostic messages on how it is parsing the url/etc. > > > > -- Nathan > >>> > > >> > so, for the below example > >> > > >> > http://host/cgi-bin/cgiwrap/cgiuser/cpass.cgi > >> > > >> > If you are using some hack with mod_rewrite, I'd suggest > >> asking on the > >> > list, as I am not doing anything with that. > >> > > >> > -- Nathan > >> > > >> > ------------------------------------------------------------ > >> > Nathan Neulinger EMail: nn...@um... > >> > University of Missouri - Rolla Phone: (573) 341-4841 > >> > Computing Services Fax: (573) 341-4216 > >> > > >> > > >> >> -----Original Message----- > >> >> From: Captain Zod [mailto:zod...@xd...] > >> >> Sent: Friday, May 31, 2002 2:56 PM > >> >> To: Neulinger, Nathan > >> >> Cc: zo...@xd... > >> >> Subject: cgiwrap > >> >> > >> >> > >> >> Hello, > >> >> Sorry to bother you but I am having the common problem of > >> >> "CGIWrap Error: > >> >> User not found". I created: > >> >> > >> >> User: cgiuser > >> >> Home: /usr/local/cgiuser > >> >> Dirs: /usr/local/cgiuser/public_html/cig-bin > >> >> Permissions: > >> >> [root@mail1 local]# ls -ld cgiuser > >> >> drwxrwxrwx 4 cgiuser cgiuser 4096 May 31 11:44 cgiuser > >> >> [root@mail1 local]# ls -lR cgiuser > >> >> cgiuser: > >> >> total 4 > >> >> drwxrwxrwx 3 cgiuser root 4096 May 31 11:44 public_html > >> >> > >> >> cgiuser/public_html: > >> >> total 4 > >> >> drwxrwxrwx 2 cgiuser root 4096 May 31 10:26 cgi-bin > >> >> > >> >> cgiuser/public_html/cgi-bin: > >> >> total 4 > >> >> -rwxrwxrwx 1 cgiuser apache 843 May 30 13:31 cpass.cgi > >> >> > >> >> I am accessing my site via: //host/cgiwrap/cpass.cgi > >> >> > >> >> I am getting: > >> >> CGIWrap was unable to find the user '' in the password file > >> >> on this server. > >> >> > >> >> Check the URL and try again. > >> >> > >> >> > >> >> Server Data: > >> >> > >> >> Server Administrator/Contact: root@localhost > >> >> Server Name: mail1.corp.xdrive.com > >> >> Server Port: 80 > >> >> Server Protocol: HTTP/1.1 > >> >> > >> >> Request Data: > >> >> > >> >> User Agent/Browser: Mozilla/4.0 (compatible; MSIE 5.01; > >> >> Windows NT 5.0) > >> >> Request Method: GET > >> >> Remote Address: 66.27.179.24 > >> >> Remote Port: 3476 > >> >> Query String: user=cgiuser&script=cpass.cgi > >> >> Extra Path Info: / > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> Is there any apache modification I need to make? I am running: > >> >> Apache 1.3.20-16 > >> >> CGIWrapper 3.7.1 > >> >> > >> >> thx, > >> >> > >> >> zod > >> >> > >> >> > >> >> > >> > >> > >> > > -- ------------------------------------------------------------ Nathan Neulinger EMail: nn...@um... University of Missouri - Rolla Phone: (573) 341-4841 Computing Services Fax: (573) 341-4216 |