https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245236
Bug ID: 245236 Summary: [suggestion] change the default shell for jexec Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: b...@freebsd.org Reporter: ple...@forget.me.uk I want to have different shells in different jails. It looks like there is a bug that prevents that. Unfortunately, this does not work: #jexec 1 /usr/local/bin/bash #echo $SHELL /bin/csh https://github.com/freebsd/freebsd/blob/master/usr.sbin/jexec/jexec.c#L132 For example, Midnight Commander has a build-in shell that relay on variable $SHELL. This means when you start mc (inside a jail) and then access shell it would be default one ( probably /bin/csh not one that was defined ) based on: https://pushpanel.io/2020/freebsd-12-1-change-the-default-shell-for-jexec/ Would you able to make relevant changes to set it up properly? -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"