Re: jexec broken?
--- Joshua Oreman <[EMAIL PROTECTED]> > 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! thanks that was it. seems counterintuitive, the first command seems as though it would work since what you suggested does. __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: jexec broken?
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 > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
jexec broken?
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 i read all 18 lines of the man thanks all __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"