If you have SSSD running and the default shell is ksh even with the default shell set to bash.

Here’s the fix to override the default shell in /etc/sssd/sssd.conf. Add override_shell.

<pre lang="bash">
default_shell = /bin/bash
override_shell = /bin/bash

To check which shell you are using.

<pre lang="bash">
echo $SHELL
/bin/bash