jexec by jname
Fabian Keil
freebsd-listen at fabiankeil.de
Sat Mar 26 18:22:17 UTC 2011
Subbsd <subbsd at gmail.com> wrote:
> I see wrong information at http://wiki.freebsd.org/Jails
> "jexec - selection by jail name, 2008-05-26 commited to 8-CURRENT "
>
> I do not see something like "jexec -n <name>" in RELENG_8 or
> CURRENT. This is fake ;) ?
Quoting jexec(8):
| DESCRIPTION
| The jexec utility executes command inside the jail identified by its jid
| or name.
The -n option is still there, but silently ignored.
Note, however, that the jail name jexec(8) is talking
about is not the same as the host name.
By default the jail id is used as jail name:
fk at r500 ~ $jls -n name jid
name=1 jid=1
name=2 jid=2
name=3 jid=3
So while jexec allows you to use the jail "name", it seems
to lack the "accept hostname or ip-number" feature mentioned
in the wiki, unless a non default jail name is used.
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-jail/attachments/20110326/e965c8eb/signature.pgp
More information about the freebsd-jail
mailing list