[Freeipa-users] Change default shell from /bin/sh to /bin/bash from AD users

Jakub Hrozek jhrozek at redhat.com
Thu Mar 28 09:08:55 UTC 2013


On Thu, Mar 28, 2013 at 09:56:32AM +0200, Pekka.Panula at sofor.fi wrote:
> Hi all
> 
> I have changed default shell to /bin/bash, but it seems when i logon to 
> Linux server with my AD username it executes /bin/sh anyway. 
> When i login with IPA account, it executes /bin/bash. 
> 
> So my question is how can i change AD users shell because it seems default 
> shell is not enough?
> 
> My IPA server is running CentOS 6.4 and ipa client also CentOS 6.4.
> 
> Regards,
>  Pekka Panula

One part of the question is not clear to me:
Is the context AD users coming via trusts or is the client configured to
access AD directly?

Anyhow, you can override the shell on the client using the
override_shell directive of sssd.conf. Simply put it into the domain
section and restart the SSSD.




More information about the Freeipa-users mailing list