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

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

Dan Langille <dvl_at_FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dvl_at_FreeBSD.org

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

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


That is my bash prompt for the given shell.

Same jail:

$ bash
[dan_at_test-nginx01:~] $ echo $SHELL
/bin/sh

I get similar results on other jails & hosts:

[dan_at_slocum:~] $ echo $SHELL
/bin/sh

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Tue Jun 22 2021 - 01:33:55 UTC

Original text of this message