Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
KASSIBER(1)		    General Commands Manual		   KASSIBER(1)

NAME
       kassiber	-- Inject an executable	from the FreeBSD host into a jail

SYNOPSIS
       kassiber	 [-h]  [-a]  [-A]  [-n]	[-r rtld] [-p path] [-l	lib] [-j jail]
		[-c chroot] cmd	[arg ...]

DESCRIPTION
       The kassiber command opens the runtime loader and an executable,	 loads
       the  required libraries,	attaches itself	to a jail and/or chroot	direc-
       tory before executing the loaded	command.

       The following options are available:

       -h    Print the usage message and exit.

       -a    Infer the required	libraries using	the runtime  loader's  tracing
	     support.	Put  inferred  libraries before	manually specified li-
	     braries.

       -A    Infer the required	libraries using	the runtime  loader's  tracing
	     support.	Put  inferred  libraries  after	manually specified li-
	     braries.

       -n    Don't infer the required libraries. Only manually	specified  li-
	     braries will be loaded.

       -r rtld
	     Override the the default runtime loader path.

       -l lib
	     Manually specify a	library	to preload. Can	be specified more than
	     once.

       -j jail
	     Specify  the jail to attach to.  The command attaches to the jail
	     before it chroots itself.

       -c chroot
	     Set the chroot directory path.  The command chroots itself	 after
	     it	attached to the	jail.

CAVEATS
       Many programs rely on access to further files besides just their	linked
       libraries so will be unable to function usefully	from within the	jail.

EXIT STATUS
       The  kassiber  command exits with EX_NOINPUT, EX_OSERR, or EX_CONFIG on
       errors otherwise	it replaces itself with	the invoked executable.

SEE ALSO
       rtld(1),	jexec(8), chroot(8)

AUTHORS
       This    manual	  page	   was	   written     by     Jan     Bramkamp
       <crest+kassiber@rlwinm.de>.

FreeBSD	ports 15.0		 Jul 12, 2025			   KASSIBER(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=kassiber&sektion=1&manpath=FreeBSD+Ports+15.0>

home | help