Results 1 to 1 of 1
Hello,
I'm having troubles with a cgi-bin script. I'm using ubuntu server 10.04 and i'm quite new to scripting
I have a script (test.cgi) in the directory "/usr/lib/cgi-bin". I've chmodded ...
- 01-19-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 1
cgi-bin script
Hello,
I'm having troubles with a cgi-bin script. I'm using ubuntu server 10.04 and i'm quite new to scripting
I have a script (test.cgi) in the directory "/usr/lib/cgi-bin". I've chmodded it so it can be executed.
If i brows to it on a client (server/cgi-bin/test.xgi) it works fine.
Then i want it to execute a kill command for a process (i'm trying to set up a game server, and i would like to start/stop it true my browser) but my log file shows the following:
i've added the following line to my sudoers file:Code:Wed Jan 19 17:08:35 2011] [error] [client 192.168.1.126] Sorry, try again., referer: 192.168.1.123/cgi-bin/test.cgi [Wed Jan 19 17:08:35 2011] [error] [client 192.168.1.126] sudo: 3 incorrect password attempts, referer: 192.168.1.123/cgi-bin/test.cgi
doesn't work...Code:www-data server=NOPASSWD:/usr/lib/cgi-bin/test.cgi
Can anyone help me with this?
Thanks


Reply With Quote