[Freeipa-users] why default shell /bin/sh

Jakub Hrozek jhrozek at redhat.com
Thu Jun 6 14:37:01 UTC 2013


On Thu, Jun 06, 2013 at 10:30:34AM -0400, Rob Crittenden wrote:
> Natxo Asenjo wrote:
> >hi,
> >
> >just interested. We have noticed that ldap users have this PS1 envvar:
> >PS1='\s-\v\$ ' instead of the usual [\u@\h \W]\$
> >
> >This is a confusing moment. Changing the shell to /bin/bash solves this,
> >but maybe this is not optimal for other systems or users.
> 
> Lowest-common denominator. One can configure all sorts of *nix-like systems
> to use IPA for authentication so we needed a default shell that is available
> on all systems and that is the bourne shell.
> 
> This is configurable in the IPA configuration, and you can override the
> shell in sssd as well.
> 
> rob

yep, see the override_shell option for a complete client side override and
allowed_shells/shell_fallback if you need more control over which shell
gets used. All the options are in man sssd.conf(5).




More information about the Freeipa-users mailing list