svn commit: r337993 - head/sbin/bectl

Kyle Evans kevans at freebsd.org
Sat Aug 18 01:14:20 UTC 2018


On Fri, Aug 17, 2018 at 8:12 PM, Kyle Evans <kevans at freebsd.org> wrote:
> Author: kevans
> Date: Sat Aug 18 01:12:44 2018
> New Revision: 337993
> URL: https://svnweb.freebsd.org/changeset/base/337993
>
> Log:
>   bectl(8): Allow running a custom command in the 'jail' subcommand
>
>   Instead of always running /bin/sh, allow the user to specify the command
>   to run. The jail is not removed when the command finishes. Meaning,
>   `bectl unjail` will still need to be run.
>
>   For example:
>
>   ```
>   bectl jail newBE pkg upgrade
>   bectl ujail newBE
>   ```
>
>   Submitted by: Shawn Webb
>   Obtained from:        HardenedBSD (8b451014ab)
>

I meant to note here that Shawn can only be blamed for the
bectl_jail.c modifications. =) The usage and manpage update were done
post-submission, pre-commit.

Thanks,

Kyle Evans


More information about the svn-src-head mailing list