Skip site navigation (1)Skip section navigation (2)
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
This is a multi-part message in MIME format.

------=_NextPart_000_000F_01C1025C.CCFDDAC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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



------=_NextPart_000_000F_01C1025C.CCFDDAC0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have chrooted apache+php but am =
having simple=20
problems like not being able to exec uptime.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>uptime has been moved to=20
/usr/serv/apache/usr/bin/uptime..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Well anyways heres my lil php line im =
tring to get=20
running</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;?php passthru ( "uptime" ); =
?&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I get no errors from php, just doesnt =
show=20
anything..&nbsp; I realize it needs a shell to execute so=20
/usr/serv/apache/bin/bash</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and /usr/serv/apache/usr/etc/shells is =
setup=20
correctly.&nbsp; Would there be something that im missing?&nbsp;Im =
frustruated=20
right now..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Its something to do with the chroot =
env.&nbsp; What=20
am i missing??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Ryan</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"mailto:ryanpek@swbell.net">ryanpek@swbell.net</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_000F_01C1025C.CCFDDAC0--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001201c10286$b60af850$01000001>