Date: Sun, 01 Jul 2001 18:36:54 -0500 From: Ryan <ryanpek@swbell.net> To: freebsd-security@freebsd.org Subject: help with missing files Message-ID: <001201c10286$b60af850$01000001@mhx800>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] I have chrooted apache+php but am having simple problems like not being able to exec uptime. uptime has been moved to /usr/serv/apache/usr/bin/uptime.. Well anyways heres my lil php line im tring to get running <?php passthru ( "uptime" ); ?> I get no errors from php, just doesnt show anything.. I realize it needs a shell to execute so /usr/serv/apache/bin/bash and /usr/serv/apache/usr/etc/shells is setup correctly. Would there be something that im missing? Im frustruated right now.. Its something to do with the chroot env. What am i missing?? thanks Ryan ryanpek@swbell.net [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 5.50.4522.1800" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>I have chrooted apache+php but am having simple problems like not being able to exec uptime.</FONT></DIV> <DIV><FONT face=Arial size=2>uptime has been moved to /usr/serv/apache/usr/bin/uptime..</FONT></DIV> <DIV><FONT face=Arial size=2>Well anyways heres my lil php line im tring to get running</FONT></DIV> <DIV><FONT face=Arial size=2><?php passthru ( "uptime" ); ?></FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I get no errors from php, just doesnt show anything.. I realize it needs a shell to execute so /usr/serv/apache/bin/bash</FONT></DIV> <DIV><FONT face=Arial size=2>and /usr/serv/apache/usr/etc/shells is setup correctly. Would there be something that im missing? Im frustruated right now..</FONT></DIV> <DIV><FONT face=Arial size=2>Its something to do with the chroot env. What am i missing??</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>thanks</FONT></DIV> <DIV><FONT face=Arial size=2>Ryan</FONT></DIV> <DIV><FONT face=Arial size=2><A href="mailto:ryanpek@swbell.net">ryanpek@swbell.net</A></FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001201c10286$b60af850$01000001>
