The
jexec
utility executes
command
inside the
jail
identified by its jid or name.
If
command
is not specified then the user's shell is used.
The following options are available:
-l
|
|
Execute in a clean environment.
The environment is discarded except for
HOME, SHELL, TERM, USER,
and anything from the login class capability database for the user.
|
-u username
|
|
The user name from host environment as whom the
command
should run.
This is the default.
|
-U username
|
|
The user name from jailed environment as whom the
command
should run.
|