FreeBSD.software
Home/sysutils/p5-BSD-Jail-Object

p5-BSD-Jail-Object

0.02_4

Object oriented perl interface to jail(2)

This is an object oriented perl interface to the FreeBSD jail subsystem. Here's a replica of the 'jls' utility in just a few lines of perl: use BSD::Jail::Object 'jids'; print " JID IP Address Hostname Path\n"; printf "%6d %-15.15s %-29.29s %.74s\n", $_->jid, $_->ip, $_->hostname, $_->path foreach jids( instantiate => 1 ); And here's 'jexec': my $j = BSD::Jail::Object->new( $ARGV[0] ) or die $@; $j->attach && chdir('/') && exec $ARGV[1] or exit; For more info please use 'perldoc' on the module.

Origin: sysutils/p5-BSD-Jail-Object
Category: sysutils
Size: 36.8KiB
License: ART10, GPLv1+
Maintainer: mahlon@martini.nu
Dependencies: 3 packages
Required by: 0 packages
$pkg install p5-BSD-Jail-Object

Dependencies (3)

More in sysutils