This script is not perl, it is in python. So far the python community has failed in the search for clue, possibly this one can assist?

Andrew Prewett wrote:
On Nov 29 Kirk Bailey wrote:

OK, man says to get a script to run as the owner, turn on the 4000 bit.

If you execute a script, and the first line begins
with `#!/usr/bin/perl -w' (in case of a perl script) and the sript is
marked executable then the kernel executes it like:

 exec("/usr/bin/perl", "perl", "-w", "script", NULL)

(It's not exact, just to point out that the setuid/setgid bit is
normally irrevelant on scripts)

See execve(2) for more.


OK, I did. No such luck, it continues to run as the apache identity 'nobody'.

Any advice?


If it's a `cgi' script, then you might need apache suexec.
If you have the ksh shell, try with suid_exec.

	-andrew





--

end

Respectfully,
             Kirk D Bailey


+---------------------"Thou Art Free." -Eris-----------------------+
| http://www.howlermonkey.net  mailto:[EMAIL PROTECTED] |
| KILL spam dead!      http://www.scambusters.org/stopspam/#Pledge |
| http://www.tinylist.org  +--------+   mailto:[EMAIL PROTECTED] |
+------------------Thinking| NORMAL |Thinking----------------------+
                           +--------+


---------------------------------------------
Introducing NetZero Long Distance
1st month Free!
Sign up today at: www.netzerolongdistance.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to