jexec broken?

Joshua Oreman oremanj at webserver.get-linux.org
Fri Jun 27 18:51:27 PDT 2003


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list