m0nkey wrote:
> Hello
>
> Thanks for the reply... i just got it working:
>
> strace -fF apache2 -D SSL -D PHP4 -D SECURITY
>
> Here is the output.. during the mail command. I also added a symlink in
> jail to /bin/sh.. but that didn't fix anything:
>
> ...
>
> 14356 execve("/bin/sh", ["sh", "-c", "/usr/sbin/mini_sendmail -t -i"], [/* 25
> vars */]) = -1 ELOOP (Too many levels of symbolic links)
> 14356 exit_group(127)
>
>
> I'm guessing it's related to the symbolic links (of /bin/sh) maybe. Should
> I just copy over the binary?
Yes, and whatever the binary needs (see page 43 of Chapter 2 of Apache
Security for how to use ldd for that).
--
Ivan Ristic
Apache Security (O'Reilly) - http://www.apachesecurity.net
Open source web application firewall - http://www.modsecurity.org
|