Set the SSH or FTP login shell
You can use the --login-shell option to set the default login shell for the user.
About this task
By default, the --login-shell option, if specified, overrides any login-shell information provided by the authentication provider, except with Active Directory. If the --login-shell option is specified with Active Directory, it simply represents the default login shell if the Active Directory server does not provide login-shell information.

The following examples refer to setting the login shell to
/bin/bash. You can also set the shell to
/bin/rbash.