[Bug 245236] [suggestion] change the default shell for jexec

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 22 Jun 2021 01:33:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245236

Dan Langille <dvl@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dvl@FreeBSD.org

--- Comment #1 from Dan Langille <dvl@FreeBSD.org> ---
Perhaps you are getting the bash shell:

$ sudo jexec 28 /usr/local/bin/bash
[root@test-nginx01:/] # echo $SHELL
/bin/csh


That is my bash prompt for the given shell.

Same jail:

$ bash
[dan@test-nginx01:~] $ echo $SHELL
/bin/sh

I get similar results on other jails & hosts:

[dan@slocum:~] $ echo $SHELL
/bin/sh

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