From owner-freebsd-security Sun Jul 1 16:39: 1 2001 Delivered-To: freebsd-security@freebsd.org Received: from mta5.rcsntx.swbell.net (mta5.rcsntx.swbell.net [151.164.30.29]) by hub.freebsd.org (Postfix) with ESMTP id 697A137B401 for ; Sun, 1 Jul 2001 16:38:56 -0700 (PDT) (envelope-from ryanpek@swbell.net) Received: from mhx800 ([64.219.216.69]) by mta5.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with SMTP id <0GFT00CDKIVV54@mta5.rcsntx.swbell.net> for freebsd-security@freebsd.org; Sun, 1 Jul 2001 18:35:55 -0500 (CDT) Date: Sun, 01 Jul 2001 18:36:54 -0500 From: Ryan Subject: help with missing files To: freebsd-security@freebsd.org Message-id: <001201c10286$b60af850$01000001@mhx800> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Content-type: multipart/alternative; boundary="----=_NextPart_000_000F_01C1025C.CCFDDAC0" X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Priority: 3 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 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
I have chrooted apache+php but am = having simple=20 problems like not being able to exec uptime.
uptime has been moved to=20 /usr/serv/apache/usr/bin/uptime..
Well anyways heres my lil php line im = tring to get=20 running
<?php passthru ( "uptime" ); = ?>
 
I get no errors from php, just doesnt = show=20 anything..  I realize it needs a shell to execute so=20 /usr/serv/apache/bin/bash
and /usr/serv/apache/usr/etc/shells is = setup=20 correctly.  Would there be something that im missing? Im = frustruated=20 right now..
Its something to do with the chroot = env.  What=20 am i missing??
 
thanks
Ryan
ryanpek@swbell.net
 
 
------=_NextPart_000_000F_01C1025C.CCFDDAC0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message