[Bug 201300] Let jexec execute shell if no command is issued.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 3 07:24:13 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201300

            Bug ID: 201300
           Summary: Let jexec execute shell if no command is issued.
           Product: Base System
           Version: 10.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: wjw at digiware.nl

Created attachment 158277
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158277&action=edit
Allow Jexec command to be empty, and start a shell

jexec does require a command as parameter.
unlike for instance chroot (or sudo if configure so)

This patch adds the same functionality to jexec and allows:
    jexec <jid>

Which gets you a shell in the jail.

--WjW

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list