From owner-freebsd-questions@FreeBSD.ORG Fri Jun 27 18:51:27 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAB6537B401 for ; Fri, 27 Jun 2003 18:51:27 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id EC90A43F75 for ; Fri, 27 Jun 2003 18:51:26 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 42559 invoked by uid 1001); 28 Jun 2003 01:54:12 -0000 Date: Fri, 27 Jun 2003 18:54:12 -0700 From: Joshua Oreman To: jon Message-ID: <20030628015412.GA42538@webserver.get-linux.org> References: <20030628013637.46584.qmail@web40310.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030628013637.46584.qmail@web40310.mail.yahoo.com> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: jexec broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2003 01:51:27 -0000 On Fri, Jun 27, 2003 at 06:36:37PM -0700 or thereabouts, jon wrote: > is jexec working in 5.1 release? > #jls > 1 192.168.1.100 example.com /usr/jail/192.168.1.100 > > #jexec 1 sendmail > jexec: execv(): sendmail: No such file or directory > > ok i will try w/ full path > > #jexec 1 /usr/jail/192.168.1.100/usr/sbin/sendmail > jexec: execv(): > /usr/jail/192.168.1.100/usr/sbin/sendmail: No such > file or directory > > sendmail was an "example" this is the same with any > app Just grasping at straws here... Maybe jexec jail()s itself before execing the program. In that case, you would need: #jexec 1 /usr/sbin/sendmail See if it works! > > i read all 18 lines of the man Hehe :-) -- Josh > > thanks all > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"