jx
This is a Perl wrapper to FreeBSD's «jexec» with more feature.
Script takes system jail id, rc.conf order id, full hostname of jail
or rc.conf name of jail. If no command for jail is given — run default ('bash' or other).
No additional software or tools like «jailer» are needed.
INSTALL
cd /usr/ports/sysutils/jx/ ; make install clean
Usage:
./jx.pl [-j] [-l] [-h] jid|rc_jid|jhostname|jname [command]
| -j|--jid | use system jid instead of rc.conf order |
| -l|l|--list | show jails's jid and hostname |
| -h | show help |
| jid | system jail id |
| rc_jid | rc.conf jail id |
| jhostname | full jail hostname |
| jname | rc.conf jail name |
| command | command to run in jail |
CHANGELOG:
| 23.04.2009 | Version 1.23 new: in jail listing show nice priority |
| 21.04.2009 | Version 1.22 new: recognize if run nonexistent rc_jid. |
| 21.04.2009 | Version 1.21 new: recognize if jail is stopped. |
| 12.04.2009 | Version 1.20 fix: minor bugs new: recognize parametr in rc.conf jail_jailname_nice="5" PR 124248 http://www.freebsd.org/cgi/query-pr.cgi?pr=124248 |
| 04.01.2009 | Version 1.10 fix: jx run much slower then jexec. |
| 03.01.2009 | Version 1.02 fix: Does not recognize quotes in command line. |
| 31.12.2008 | Version 1.01 fix: Does not load configuration file. |
| 15.12.2008 | Version 1.0 |
Download last release: jx-1.23.tar.gz v1.23
