Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2021 01:33:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        jail@FreeBSD.org
Subject:   [Bug 245236] [suggestion] change the default shell for jexec
Message-ID:  <bug-245236-29815-JQM3tZD5tr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-245236-29815@https.bugs.freebsd.org/bugzilla/>
References:  <bug-245236-29815@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245236

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245236-29815-JQM3tZD5tr>