Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2003 18:54:12 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        jon <juostaus@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: jexec broken?
Message-ID:  <20030628015412.GA42538@webserver.get-linux.org>
In-Reply-To: <20030628013637.46584.qmail@web40310.mail.yahoo.com>
References:  <20030628013637.46584.qmail@web40310.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030628015412.GA42538>